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

Disassembly:
sub esp, 0x250
mov eax, dword [0x4c97a0]
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 [0x4ce3a4], edi
je 0x47a52f
push edi
push 1
push 1
push edi
mov dword [0x4ce3a4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x4d0204], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x4d0204]
cmp eax, edi
je 0x47a54d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x4d0204]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x21c], edi
mov dword [ebx + 0x220], edi
cmp esi, edi
je 0x47a73d
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.0047a490
test eax, eax
je 0x47a73b
cmp dword [esp + 0x2c], 3
jne 0x47a73b
mov dword [esp + 0x18], 0xffffffff
test ebp, ebp
je 0x47a5b4
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 0x47a73b
cmp word [ebx + 0x14], di
lea eax, [ebx + 0x14]
jne 0x47a5c2
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 0x47a711
cmp dword [ebx + 0x21c], edi
jne 0x47a711
call fcn.0047a410
mov edx, 2
mov eax, ebx
call fcn.0047a8f0
mov eax, dword [esp + 0x34]
cmp eax, 0x7ffffffe
jbe 0x47a610
xor ecx, ecx
mov word [esp + 0x5c], cx
jmp 0x47a623
mov edx, dword [esp + 0x30]
push edx
mov ecx, pe_nt_image_headers32
lea edx, [esp + 0x60]
call fcn.0046a070
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 0x47a711
cmp dword [ebx + 0x21c], edi
jne 0x47a711
mov edx, dword [esp + 0x4c]
push 0
push 0x84000100
push 0x4ce3a8
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 0x47a711
cmp dword [ebx + 0x21c], 0
jne 0x47a711
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.0047a460
mov eax, dword [ebx + 0x220]
cmp eax, 0x191
je 0x47a6c2
cmp eax, 0x197
jne 0x47a6e3
mov eax, edi
call fcn.0047a910
push 0
push 0
push 0
push 0
push edi
call ebp
mov esi, eax
lea eax, [ebx + 0x220]
mov edx, edi
call fcn.0047a460
test esi, esi
je 0x47a70d
cmp dword [ebx + 0x220], 0xc8
jne 0x47a70d
cmp dword [ebx + 0x21c], 0
jne 0x47a70d
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov esi, ebx
call fcn.0047a780
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 0x47a729
push edi
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47a734
push eax
call ebx
test esi, esi
je 0x47a73b
push esi
call ebx
xor edi, edi
mov eax, dword [0x4d0204]
cmp eax, edi
je 0x47a75f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x4d0204]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d0204], edi
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048b133
add esp, 0x250
ret 4