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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x243
push 0
push 0
dec ecx
jne 0x45d7d5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d04
mov eax, dword [ebp - 8]
call fcn.00404d04
mov eax, dword [ebp + 0xc]
call fcn.00404d04
xor eax, eax
push ebp
push 0x45dff7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004048ec
mov edx, 0x102
mov eax, dword [ebx + 0x64]
call fcn.0045af10
mov edx, dword [0x46e668]
mov eax, dword [ebx + 0x64]
call fcn.0045aebc
mov dl, 1
mov eax, dword [ebx + 0x64]
call fcn.0045ac80
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0045cd64
lea ecx, [ebp - 0x11ac]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045d490
mov edx, dword [ebp - 0x11ac]
lea eax, [ebp - 4]
call fcn.004048ec
mov eax, dword [ebx + 0x94]
call fcn.00419014
dec eax
jle 0x45d8e0
lea edx, [ebp - 0x11b4]
mov eax, dword [ebx + 0x34]
call fcn.00408da0
push dword [ebp - 0x11b4]
push 0x45e014
push dword [ebx + 0x104]
push 0x45e014
mov eax, dword [ebx + 0x94]
call fcn.00463e34
lea edx, [ebp - 0x11b8]
call fcn.00408da0
push dword [ebp - 0x11b8]
push 0x45e020
lea eax, [ebp - 0x11b0]
mov edx, 6
call fcn.00404bd4
mov edx, dword [ebp - 0x11b0]
mov eax, dword [ebx + 0x48]
call fcn.0044d738
jmp 0x45d8ea
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044d738
cmp byte [ebx + 0x115], 0
je 0x45d959
push dword [ebx + 0x78]
push 0x45e014
lea edx, [ebp - 0x11c0]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044d708
push dword [ebp - 0x11c0]
push dword [ebp - 0x14]
push 0x45e014
push dword [ebx + 0x108]
push 0x45e014
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045d590
push dword [ebp - 0x11c4]
lea eax, [ebp - 0x11bc]
mov edx, 8
call fcn.00404bd4
mov edx, dword [ebp - 0x11bc]
mov eax, esi
call fcn.0044d738
jmp 0x45d997
push dword [ebx + 0x78]
push 0x45e014
lea edx, [ebp - 0x11cc]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044d708
push dword [ebp - 0x11cc]
push dword [ebp - 0x14]
lea eax, [ebp - 0x11c8]
mov edx, 4
call fcn.00404bd4
mov edx, dword [ebp - 0x11c8]
mov eax, esi
call fcn.0044d738
cmp dword [ebp + 0xc], 0
je 0x45d9aa
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0xc]
call fcn.004048ec
jmp 0x45d9b5
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0045cd64
lea ecx, [ebp - 0x11d0]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0045d258
mov edx, dword [ebp - 0x11d0]
lea eax, [ebp - 0x14]
call fcn.004048ec
mov eax, dword [ebp - 0x14]
call fcn.004092b4
test al, al
je 0x45df71
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045d590
lea ecx, [ebp - 0x11d4]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045d6b0
mov edx, dword [ebp - 0x11d4]
lea eax, [ebp - 4]
call fcn.004048ec
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 0x1c]
call fcn.00404d14
push eax
mov eax, dword [ebx + 0x98]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x24], eax
cmp byte [ebp + 8], 0
jne 0x45da6e
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d14
push eax
push 0x45e024
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x28], eax
jmp 0x45da95
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d14
push eax
push 0x45e02c
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x45daf8
cmp word [ebx + 0xa2], 0
je 0x45dab8
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45df71
lea eax, [ebp - 0x11d8]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x45e038
call fcn.00404b60
mov eax, dword [ebp - 0x11d8]
push eax
mov ecx, 6
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45df71
mov dword [ebp - 0x10], 0x1000
cmp dword [ebp - 0x28], 0
je 0x45df71
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1180]
call fcn.00402fd4
mov edx, 1
lea eax, [ebp - 0x1180]
call fcn.00403448
call fcn.00402c2c
lea eax, [ebp - 0x1180]
call fcn.004032d4
call fcn.00402c2c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x1000
xor esi, esi
lea eax, [ebp - 0x11a8]
xor ecx, ecx
mov edx, 0x28
call fcn.00403320
mov dword [ebp - 0x11a8], 0x28
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x118c], eax
push 0
push 8
push 0
lea eax, [ebp - 0x11a8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_HttpSendRequestExA
test eax, eax
jne 0x45dc05
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1180]
call fcn.0040316c
call fcn.00402c2c
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp word [ebx + 0xa2], 0
je 0x45dbcc
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45df71
lea edx, [ebp - 0x11dc]
mov eax, dword [ebp - 0x34]
call fcn.0045d410
mov eax, dword [ebp - 0x11dc]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45df71
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x30], eax
jmp 0x45decf
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1034]
mov ecx, 0x1000
lea eax, [ebp - 0x1180]
call fcn.0040312c
call fcn.00402c2c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1034]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetWriteFile
test eax, eax
jne 0x45dca9
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x34], eax
cmp word [ebx + 0xa2], 0
je 0x45dc70
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45dee2
lea edx, [ebp - 0x11e0]
mov eax, dword [ebp - 0x34]
call fcn.0045d410
mov eax, dword [ebp - 0x11e0]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45dee2
add esi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
jbe 0x45dd57
mov dword [ebp - 0x11e8], esi
xor eax, eax
mov dword [ebp - 0x11e4], eax
fild qword [ebp - 0x11e8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x11f0], eax
xor eax, eax
mov dword [ebp - 0x11ec], eax
fild qword [ebp - 0x11f0]
fdivp st(1)
fmul dword [0x45e054]
call fcn.00402d30
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.0045a414
push dword [ebx + 0x7c]
push 0x45e014
lea edx, [ebp - 0x11f8]
mov eax, esi
call fcn.0045ce28
push dword [ebp - 0x11f8]
push 0x45e014
push dword [ebx + 0x104]
push 0x45e014
lea edx, [ebp - 0x11fc]
mov eax, dword [ebp - 0x20]
call fcn.0045ce28
push dword [ebp - 0x11fc]
lea eax, [ebp - 0x11f4]
mov edx, 7
call fcn.00404bd4
mov edx, dword [ebp - 0x11f4]
mov eax, dword [ebx + 0x4c]
call fcn.0044d738
jmp 0x45dd90
push dword [ebx + 0x7c]
push 0x45e014
lea edx, [ebp - 0x1204]
mov eax, esi
call fcn.0045ce28
push dword [ebp - 0x1204]
lea eax, [ebp - 0x1200]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x1200]
mov eax, dword [ebx + 0x4c]
call fcn.0044d738
cmp word [ebx + 0xea], 0
je 0x45ddb0
push esi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xec]
call dword [ebx + 0xe8]
cmp byte [ebx + 0x114], 0
je 0x45de03
push dword [ebx + 0x74]
push 0x45e020
mov eax, dword [ebx + 0x44]
call fcn.0045a264
lea edx, [ebp - 0x120c]
call fcn.00408da0
push dword [ebp - 0x120c]
push 0x45e060
push dword [ebx + 0x118]
lea eax, [ebp - 0x1208]
mov edx, 5
call fcn.00404bd4
mov edx, dword [ebp - 0x1208]
mov eax, dword [ebx + 0x3c]
call fcn.0044d738
push dword [ebx + 0x80]
push 0x45e014
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x11e8], eax
xor eax, eax
mov dword [ebp - 0x11e4], eax
fild qword [ebp - 0x11e8]
mov dword [ebp - 0x11f0], esi
xor eax, eax
mov dword [ebp - 0x11ec], eax
fild qword [ebp - 0x11f0]
fdivrp st(1)
fmul dword [0x45e064]
call fcn.00402d30
lea edx, [ebp - 0x1214]
call fcn.0045cf7c
push dword [ebp - 0x1214]
lea eax, [ebp - 0x1210]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x1210]
mov eax, dword [ebx + 0x50]
call fcn.0044d738
push dword [ebx + 0x84]
push 0x45e014
lea eax, [ebp - 0x121c]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, esi
call fcn.0045d0d0
push dword [ebp - 0x121c]
lea eax, [ebp - 0x1218]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x1218]
mov eax, dword [ebx + 0x54]
call fcn.0044d738
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
cmp dword [ebp - 0x10], 0x1000
jne 0x45dee2
cmp byte [ebx + 0x38], 0
je 0x45dc12
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_HttpEndRequestA
test eax, eax
jne 0x45df48
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x34], eax
cmp word [ebx + 0xa2], 0
je 0x45df18
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45df48
lea edx, [ebp - 0x1220]
mov eax, dword [ebp - 0x34]
call fcn.0045d410
mov eax, dword [ebp - 0x1220]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
lea eax, [ebp - 0x1180]
call fcn.0040316c
call fcn.00402c2c
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp esi, dword [ebp - 0x20]
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dffe
lea eax, [ebp - 0x1220]
mov edx, 0xc
call fcn.00404878
lea eax, [ebp - 0x11e0]
mov edx, 5
call fcn.00404878
lea eax, [ebp - 0x11cc]
call fcn.00404854
lea eax, [ebp - 0x11c8]
mov edx, 2
call fcn.00404878
lea eax, [ebp - 0x11c0]
call fcn.00404854
lea eax, [ebp - 0x11bc]
mov edx, 5
call fcn.00404878
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404878
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404878
lea eax, [ebp + 0xc]
call fcn.00404854
ret