Function at 0x1002b000
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x904
mov dl, byte [0x100437b4]
push ebx
push ebp
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0x94], dl
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x15]
mov ebp, dword [esp + 0x918]
rep stosd dword es:[edi], eax
mov ebx, dword [ebp]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebx + 0x124]
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x1eb4]
mov esi, dword [edi + 0x1eb0]
sub eax, esi
lea ecx, [edi + 0x1cb0]
add eax, 2
push eax
push ecx
push 0x3c
push ebx
call fcn.1002b300
mov eax, dword [edi + 0x1eb0]
xor ecx, ecx
add esp, 0x10
mov cl, byte [eax]
inc eax
cmp ecx, 0x18
mov dword [edi + 0x1eb0], eax
je 0x1002b257
cmp ecx, 0x23
je 0x1002b1cc
cmp ecx, 0x27
jne 0x1002b2e8
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea edx, [esp + 0x128]
push 0x800
push edx
call sym.libcurl.dll_curl_msnprintf
mov ebx, dword [edi + 0x1cac]
add esp, 0x1c
test ebx, ebx
mov esi, 4
je 0x1002b147
mov edx, dword [ebx]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [ecx + esi]
cmp edi, 0x7fa
jae 0x1002b140
lea eax, [esp + 0x14]
lea ecx, [esp + 0x94]
push eax
push ecx
push str._127_____127s
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
je 0x1002b140
lea edx, [esp + 0x14]
lea eax, [esp + 0x94]
push edx
push 1
mov ecx, 0x800
push eax
push 0
sub ecx, esi
push str._c_s_c_s
lea edx, [esp + esi + 0x128]
push ecx
push edx
call sym.libcurl.dll_curl_msnprintf
add esp, 0x1c
mov esi, edi
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002b0d8
mov eax, 0x800
push pe_nt_image_headers32
push 0xff
sub eax, esi
push str._c_c
lea ecx, [esp + esi + 0x120]
push eax
push ecx
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebp + 0x190]
add esp, 0x14
add esi, 2
lea edx, [esp + 0x114]
push 0
push esi
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x1002b1a6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push ecx
call fcn.10024430
add esp, 0xc
mov eax, dword [esp + 0x10]
add esi, 0xfffffffe
lea edx, [esp + 0x116]
push esi
push edx
push 0x3e
push eax
call fcn.1002b300
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x904
ret
lea edx, [edi + 0x1c28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
push pe_nt_image_headers32
push 0xff
not ecx
push edx
push eax
dec ecx
push 0x23
push 0xfa
mov esi, ecx
push 0xff
push str._c_c_c_c_s_c_c
lea ecx, [esp + 0x134]
push 0x800
push ecx
add esi, 6
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebp + 0x190]
add esp, 0x28
lea edx, [esp + 0x114]
push 0
push esi
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x1002b246
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.10024430
add esp, 0xc
add esi, 0xfffffffe
lea ecx, [esp + 0x116]
push esi
push ecx
jmp 0x1002b2dd
lea edx, [edi + 0x1c08]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
push pe_nt_image_headers32
push 0xff
push edx
push eax
not ecx
push 0x18
push 0xfa
dec ecx
push 0xff
push str._c_c_c_c_s_c_c
lea edx, [esp + 0x134]
mov esi, ecx
push 0x800
push edx
add esi, 6
call sym.libcurl.dll_curl_msnprintf
mov ecx, dword [ebp + 0x190]
add esp, 0x28
lea eax, [esp + 0x114]
push 0
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x1002b2d1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.10024430
add esp, 0xc
add esi, 0xfffffffe
lea edx, [esp + 0x116]
push esi
push edx
push 0x3e
push ebx
call fcn.1002b300
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x904
ret