Function at 0x423985
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x423c44
cmp dword [ebp + 0x10], 0
je 0x423c44
push ebx
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x438], 0xf
push ecx
push dword [ebp + 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 0x44c], bl
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b0], ebx
call fcn.00434a63
add esp, 0xc
test eax, eax
je 0x423c25
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x44c]
push dword [ebp - 0x4b8]
call fcn.004231bc
lea ecx, [ebp - 0x49c]
call fcn.00423378
mov eax, dword [esi + 0x88]
lea ecx, [ebp - 0x468]
push 0xffffffffffffffff
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x44c]
push ebx
push eax
mov dword [ebp - 0x49c], 1
mov dword [ebp - 0x490], ebx
mov dword [ebp - 0x46c], ebx
call fcn.00402960
mov eax, dword [esi + 0x80]
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x48c], eax
lea eax, [esi + 0x30]
mov dword [ebp - 0x488], ebx
cmp ecx, eax
je 0x423a7b
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402960
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4ac], ebx
push eax
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4a4], ebx
call fcn.00423319
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x434]
mov ecx, esi
push dword [ebp - 0x4ac]
push eax
call fcn.00423540
push ebx
push ebx
push ebx
push ebx
push str.HTTP_1.1
push ebx
push str.POST
push dword [esi + 0x7c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x423bff
push dword [ebp - 0x4a8]
cmp dword [ebp - 0x420], 0x10
lea eax, [ebp - 0x434]
push dword [ebp - 0x4ac]
cmovae eax, dword [ebp - 0x434]
push dword [ebp - 0x424]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x423b15
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x423b3e
push ebx
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4bc], 4
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x423b4a
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x423bff
cmp dword [ebp - 0x4c0], 0x193
je 0x423b3e
push 0x400
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.00439ae0
mov dword [ebp - 0x40c], ebx
add esp, 0xc
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x4a0], ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x408], 0xf
jmp 0x423bb7
cmp dword [ebp - 0x4a0], 0
je 0x423bd1
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00402a80
and dword [ebp - 0x4a0], 0
lea eax, [ebp - 0x4a0]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call ebx
test eax, eax
jne 0x423b8f
lea eax, [ebp - 0x41c]
cmp edi, eax
je 0x423be7
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00402960
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 1
lea ecx, [ebp - 0x41c]
mov bl, 1
call fcn.00402710
push 0
push 1
lea ecx, [ebp - 0x434]
call fcn.00402710
push dword [ebp - 0x4ac]
call fcn.00438348
pop ecx
lea ecx, [ebp - 0x49c]
call fcn.0042347e
lea ecx, [ebp - 0x4b8]
call fcn.00404f70
push 0
push 1
lea ecx, [ebp - 0x44c]
call fcn.00402710
mov al, bl
pop ebx
jmp 0x423c46
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret 0x10