Function at 0x4342ad
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x14
mov eax, 0x496ecb
call fcn.004648f7
mov ebx, ecx
push 0xf
pop edi
xor esi, esi
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
mov dword [ebp + 0x34], edi
call fcn.004022f1
push esi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], edi
call fcn.004022f1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x90]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x50
call fcn.0040404b
mov ecx, ebx
call fcn.00433fd5
push esi
push esi
push esi
push esi
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebx], eax
jne 0x434382
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.004020a2
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.004020a2
lea ecx, [ebp + 0x90]
call fcn.00433fa5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x88
leave
ret 0x64
cmp dword [ebp + 0x34], 0x10
mov ecx, dword [ebp + 0x20]
jae 0x43438e
lea ecx, [ebp + 0x20]
push 1
push esi
push 3
push esi
push esi
push dword [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
mov dword [ebx + 4], eax
je 0x43433a
cmp dword [ebp + 0x50], 0x10
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x1c], 0x4a2b80
mov dword [ebp - 0x18], esi
jae 0x4343bd
lea ecx, [ebp + 0x3c]
push esi
push 0x4290000
lea edx, [ebp - 0x1c]
push edx
push esi
push str.HTTP_1.1
push ecx
push 0x4a2b6c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, esi
mov dword [ebx + 8], eax
jne 0x43440b
xor edi, edi
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.004020a2
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.004020a2
lea ecx, [ebp + 0x90]
call fcn.00433fa5
mov eax, edi
jmp 0x43435d
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 2
push eax
mov dword [ebp - 0x10], 0x3e8
call edi
push 4
lea eax, [ebp - 0x10]
push eax
push 5
push dword [ebx + 8]
call edi
push 4
lea eax, [ebp - 0x10]
push eax
push 6
push dword [ebx + 8]
call edi
cmp dword [ebp + 0xdc], esi
je 0x434491
push str.Cookie:
lea ecx, [ebp]
call fcn.00403ffe
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0xc8]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.0040792c
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x434474
lea eax, [ebp + 4]
push 0x20000000
push dword [ebp + 0x14]
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push esi
push 1
lea ecx, [ebp]
call fcn.004020a2
cmp dword [ebp + 0xe8], 0
push 0xc
pop ecx
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [ebp + 0x54]
rep movsd dword es:[edi], dword [esi]
jne 0x4344ab
xor eax, eax
jmp 0x4344b7
mov eax, dword [ebp + 0xec]
sub eax, dword [ebp + 0xe8]
push eax
push 0
lea ecx, [ebp + 0xe4]
call fcn.00433ed3
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.00466310
pop ecx
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
xor esi, esi
jmp 0x4343e3