Function at 0x470be0
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x470fe7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x471004
call fcn.00407230
cmp dword [ebp - 0xc], 0
jne 0x470c4d
lea eax, [ebp - 0x40]
mov edx, 0x47103c
call fcn.00407230
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x470c8a
lea eax, [ebp - 0x40]
mov edx, 0x471050
call fcn.00407230
mov eax, dword [ebp - 0xc]
call fcn.004076fc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
call fcn.00407308
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x28]
push 0x471068
push 0x4710c8
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00407b84
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x88]
mov edx, 0x3c
call fcn.0042d6c0
mov dword [ebp - 0x80], 0x20
mov dword [ebp - 0x74], pe_nt_image_headers32
mov dword [ebp - 0x58], 0x800
mov dword [ebp - 0x88], 0x3c
mov dword [ebp - 0x34], 0x50
lea eax, [ebp - 0x88]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040792c
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
je 0x470d2a
mov byte [ebp - 0xd], 1
movzx eax, word [ebp - 0x70]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x78]
call fcn.0040797c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00407c6c
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x5c]
call fcn.0040797c
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, 1
mov eax, dword [ebp - 0x3c]
call fcn.00407c6c
push 0
push 0
push 0
push 0
push 0x4710f0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xea60
push 4
lea eax, [ebp - 0x2c]
push eax
push 2
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetSetOptionW
mov dword [ebp - 0x2c], 0xea60
push 4
lea eax, [ebp - 0x2c]
push eax
push 6
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470dac
push ebp
mov edx, 0x471108
xor eax, eax
call fcn.00470ba0
pop ecx
jmp 0x470fb2
mov dword [ebp - 0x44], 0x84000100
lea eax, [ebp - 0x8c]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00407c6c
mov eax, dword [ebp - 0x8c]
mov edx, dword [0x482128]
call fcn.00407c34
jne 0x470de6
or dword [ebp - 0x44], 0x800000
xor eax, eax
push ebp
push 0x470fab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x3c]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0x40]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x470e3c
push ebp
mov edx, 0x471134
xor eax, eax
call fcn.00470ba0
pop ecx
call fcn.00406630
jmp 0x470fb2
xor eax, eax
push ebp
push 0x470f8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004072fc
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
je 0x470f72
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000013
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x470ebc
push ebp
mov edx, 0x471160
xor eax, eax
call fcn.00470ba0
pop ecx
call fcn.00406630
call fcn.00406630
jmp 0x470fb2
cmp dword [ebp - 0x24], 0xc8
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x470f66
lea eax, [ebp - 0x28]
mov edx, 0x800
call fcn.00407a24
mov eax, dword [ebp - 0x28]
call fcn.004072fc
add eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
call fcn.004073c4
push eax
push 0x16
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x470f66
mov eax, dword [ebp - 0x28]
call fcn.0040792c
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.0040797c
push 0x47118c
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.004173ec
push dword [ebp - 0x94]
push 0x4711b8
push dword [ebp - 0x28]
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.00407b84
mov edx, dword [ebp - 0x90]
mov eax, dword [0x4821e8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00440300
push ebp
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.00470ba0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470f92
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470fee
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00406ea4
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00406ea4
lea eax, [ebp - 0x28]
call fcn.00406e44
pop eax
jmp eax