Function at 0x432140
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca9d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x510a50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00467e07
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432184
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
cmp esi, 2
jne 0x4321e6
cmp dword [ebp + 0x18], 0
je 0x4321ae
cmp dword [ebp + 0x1c], 0
jne 0x4321e6
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4321d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x4322cb
mov eax, esi
sub eax, 2
je 0x43220e
dec eax
je 0x432203
lea ecx, [ebp - 0x10]
push ecx
mov edx, str.GET
jmp 0x432217
lea edx, [ebp - 0x10]
push edx
mov edx, str.HEAD
jmp 0x432217
lea eax, [ebp - 0x10]
push eax
mov edx, str.POST
call fcn.00432f80
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
push ecx
lea ebx, [ebp - 0x10]
call fcn.00432fc0
push str._HTTP_1.1_r_n
mov eax, 0xb
call fcn.00432fc0
push str.Accept:___r_n
mov eax, 0xd
call fcn.00432fc0
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__Gecko_Firefox_r_n
mov eax, 0x4e
call fcn.00432fc0
push str.Connection:_Close_r_n
mov eax, 0x13
call fcn.00432fc0
push str.Host:
mov eax, 6
call fcn.00432fc0
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx - 0xc]
push ecx
call fcn.00432fc0
push 0x4f6544
mov eax, 2
call fcn.00432fc0
cmp esi, 2
jne 0x4322b7
push str.Content_Type:_application_x_www_form_urlencoded_charsetGB2312_r_n
mov edi, ebx
call fcn.004330a0
mov eax, dword [ebp + 0x18]
push eax
push str.Content_Length:__d_r_n
call fcn.004330a0
add esp, 0xc
push 0x4f6544
mov eax, 2
lea ebx, [ebp - 0x10]
call fcn.00432fc0
jmp 0x4322e3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4322d0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00412a20
cmp dword [ebp + 0x14], 2
mov edi, dword [ebp - 0x10]
mov esi, dword [edi - 0xc]
jne 0x4322f2
add esi, dword [ebp + 0x18]
push esi
call fcn.00460bbb
push esi
mov ebx, eax
push 0
push ebx
call fcn.00488a00
mov eax, dword [edi - 0xc]
push eax
push edi
push ebx
call fcn.00488b10
add esp, 0x1c
cmp dword [ebp + 0x14], 2
jne 0x43232d
mov ecx, dword [ebp + 0x18]
mov edi, dword [edi - 0xc]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
add edi, ebx
push edi
call fcn.00488b10
add esp, 0xc
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push esi
push ebx
push eax
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x432371
add edi, eax
cmp edi, esi
jge 0x43236a
mov eax, dword [ebp + 8]
push 0
mov ecx, esi
sub ecx, edi
push ecx
lea edx, [edi + ebx]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x432348
jmp 0x432371
mov dword [ebp - 0x14], 0
push ebx
call fcn.00460bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4323a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret