Function at 0x4168c0
Capabilities:
Print debug messages
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x487490]
mov dword [ebp - 0x18], eax
push edi
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0xc], 0x473514
mov dword [ebp - 4], 0x473518
mov dword [ebp - 8], 0
push 0x473568
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x450]
call fcn.00416fc0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
push 0x4400040
lea ecx, [ebp - 0xc]
push ecx
push 0x473589
push 0x47358c
mov edx, dword [ebp + 8]
push edx
push 0x473598
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x31164]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x450]
mov dword [edx + 0x31168], eax
mov eax, dword [ebp - 0x450]
cmp dword [eax + 0x31168], 0
jne 0x41695c
jmp 0x416bc9
push SysReAllocString
push 0x4735a0
call fcn.00444520
add esp, 4
push eax
push 0x4735b0
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x31168]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x416990
jmp 0x416bc9
push 0x10000000
mov eax, dword [ebp - 4]
push eax
call fcn.00444520
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x4169c2
jmp 0x416bc9
mov cl, byte [0x4735be]
mov byte [ebp - 0x418], cl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00444850
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
push 0x4735c0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00443eb6
add esp, 0xc
push 0x10000000
lea edx, [ebp - 0x418]
push edx
call fcn.00444520
add esp, 4
push eax
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 0x31168]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x416a46
jmp 0x416bc9
mov dword [ebp - 0x444], 0
xor eax, eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x444], 0x28
mov dword [ebp - 0x440], 0
push 0
push 8
push 0
lea ecx, [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x416ac5
jmp 0x416bc9
mov dword [ebp - 0x41c], 0
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [ebp - 0x14]
jae 0x416bba
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x41c]
cmp edx, 0x800
jae 0x416b00
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x41c]
mov dword [ebp - 0x454], eax
jmp 0x416b0a
mov dword [ebp - 0x454], 0x800
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], 0
lea edx, [ebp - 0x44c]
push edx
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x31168]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x416b51
jmp 0x416bba
mov ecx, dword [ebp - 0x44c]
cmp ecx, dword [ebp - 0x448]
je 0x416b6c
push 0x4735d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x416bba
mov edx, dword [ebp - 0x41c]
add edx, dword [ebp - 0x44c]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x450]
cmp dword [eax + 4], 0
je 0x416bb5
mov eax, dword [ebp - 0x41c]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x450]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x450]
call dword [eax + 4]
add esp, 8
test eax, eax
je 0x416bb5
jmp 0x416bba
jmp 0x416acf
mov dword [ebp - 0x10], 1
xor ecx, ecx
jne 0x41690b
mov edx, dword [ebp - 0x450]
cmp dword [edx + 0x31168], 0
je 0x416bf1
push 0
push 8
push 0
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x31168]
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x450]
call fcn.00416f90
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004457b0
pop edi
mov esp, ebp
pop ebp
ret 4