Function at 0x45cfd0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x250
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x25c]
push esi
push edi
xor edi, edi
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x10], edi
cmp dword [0x48e1ac], edi
je 0x45d01f
push edi
push 1
push 1
push edi
mov dword [0x48e1ac], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x490000], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x490000]
cmp eax, edi
je 0x45d03d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x490000]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x21c], edi
mov dword [ebx + 0x220], edi
cmp esi, edi
je 0x45d22d
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.0045cf80
test eax, eax
je 0x45d22b
cmp dword [esp + 0x2c], 3
jne 0x45d22b
mov dword [esp + 0x18], 0xffffffff
test ebp, ebp
je 0x45d0a4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x45d22b
cmp word [ebx + 0x14], di
lea eax, [ebx + 0x14]
jne 0x45d0b2
mov eax, str.Mozila_4.0__compatible__MSIE_5.0__LEAKCHECK_
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x45d201
cmp dword [ebx + 0x21c], edi
jne 0x45d201
call fcn.0045cf00
mov edx, 2
mov eax, ebx
call fcn.0045d3e0
mov eax, dword [esp + 0x34]
cmp eax, 0x7ffffffe
jbe 0x45d100
xor ecx, ecx
mov word [esp + 0x5c], cx
jmp 0x45d113
mov edx, dword [esp + 0x30]
push edx
mov ecx, 0x100
lea edx, [esp + 0x60]
call fcn.00452ab0
mov eax, dword [esp + 0x38]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [esp + 0x74]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x45d201
cmp dword [ebx + 0x21c], edi
jne 0x45d201
mov edx, dword [esp + 0x4c]
push 0
push 0x84000100
push 0x48e1b0
push 0
push str.HTTP_1.1
push edx
push 0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x45d201
cmp dword [ebx + 0x21c], 0
jne 0x45d201
mov ebp, dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0
push 0
push 0
push 0
push edi
call ebp
mov esi, eax
lea eax, [ebx + 0x220]
mov edx, edi
call fcn.0045cf50
mov eax, dword [ebx + 0x220]
cmp eax, 0x191
je 0x45d1b2
cmp eax, 0x197
jne 0x45d1d3
mov eax, edi
call fcn.0045d400
push 0
push 0
push 0
push 0
push edi
call ebp
mov esi, eax
lea eax, [ebx + 0x220]
mov edx, edi
call fcn.0045cf50
test esi, esi
je 0x45d1fd
cmp dword [ebx + 0x220], 0xc8
jne 0x45d1fd
cmp dword [ebx + 0x21c], 0
jne 0x45d1fd
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov esi, ebx
call fcn.0045d270
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x45d219
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45d224
push eax
call ebx
test esi, esi
je 0x45d22b
push esi
call ebx
xor edi, edi
mov eax, dword [0x490000]
cmp eax, edi
je 0x45d24f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x490000]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x490000], edi
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460259
add esp, 0x250
ret 4