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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1424
call fcn.00417120
mov eax, dword [0x4303c0]
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0x4c]
mov dword [esp + 0x142c], eax
call fcn.00402252
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.00424630
test eax, eax
jne 0x4247c2
mov eax, SysReAllocString
mov ecx, dword [esp + 0x142c]
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00423cd0
test eax, eax
je 0x424b0f
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x424ade
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
push 0
push 0x4600010
push 0x43112c
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [ebx + 0xc], eax
je 0x424aff
mov eax, dword [ebp + 0x1c]
test eax, eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], esi
je 0x42482b
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
mov dword [esp + 0x10], eax
mov esi, eax
push esi
call fcn.0041748b
mov edx, eax
mov ecx, esi
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x1c]
add esp, 4
test eax, eax
mov dword [esp + 0xc], edx
je 0x424891
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0xc]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, str.InPost
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc]
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, dword [esp + 0xc]
add edi, eax
mov edx, eax
jmp 0x424896
mov esi, dword [ebp + 0xc]
mov edi, edx
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push edx
push str.Content_Type:_application_x_www_form_urlencoded
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx + 0xc]
push eax
push str.Content_Type:_application_x_www_form_urlencoded
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x424913
mov eax, dword [esp + 0xc]
push eax
call fcn.00406f29
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [ebx + 0x54], eax
call fcn.00423c80
mov edi, dword [ebx + 0x54]
xor eax, eax
cmp edi, 0x2ee2
setne al
dec eax
and eax, reloc.OLEAUT32.dll_SysStringLen
dec eax
mov ecx, dword [esp + 0x142c]
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00406f29
mov ecx, dword [ebx + 0xc]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 4
call esi
test eax, eax
je 0x424aff
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
je 0x4249e7
cmp eax, 0x12c
jbe 0x424b08
cmp eax, 0x12e
ja 0x424b08
xor eax, eax
push eax
mov byte [esp + 0x24], 0
mov ecx, 0x100
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0x21
push ecx
mov dword [esp + 0x2c], 0x400
call esi
test eax, eax
je 0x424aff
lea edx, [esp + 0x20]
push edx
lea ecx, [ebx + 0x4c]
call fcn.004036c1
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0xc], 0
mov eax, 1
mov ecx, dword [esp + 0x142c]
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x424ade
mov esi, dword [ebp + 0x18]
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x428]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
mov dword [esi], eax
jmp 0x424a20
mov eax, dword [ebx + 0x44]
test eax, eax
mov dword [esp + 0x14], 0
jne 0x424ade
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x14]
push edx
push 0xfff
lea eax, [esp + 0x430]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x424aff
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x424a9d
mov edx, dword [esi]
mov eax, dword [esp + 0xc]
add edx, ecx
cmp edx, eax
ja 0x424a9d
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x428]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
add esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov edi, esi
mov dword [eax], edx
mov esi, eax
jmp 0x424a9f
add dword [esi], ecx
test ecx, ecx
ja 0x424a20
mov byte [edi + 1], 0
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0xc]
mov dword [ebx + 0xc], 0
cmp edx, dword [esi]
sbb eax, eax
and eax, reloc.OLEAUT32.dll_SysStringLen
mov ecx, dword [esp + 0x142c]
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00423c80
mov eax, 2
mov ecx, dword [esp + 0x142c]
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x54], eax
mov ecx, ebx
call fcn.00423c80
mov ecx, dword [esp + 0x142c]
or eax, 0xffffffff
call fcn.0041d1d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18