Function at 0x424d80
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.00417640
mov eax, dword [0x4313c0]
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0x4c]
mov dword [esp + 0x142c], eax
call fcn.00402306
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.00424c40
test eax, eax
jne 0x424dd2
mov eax, SysReAllocString
mov ecx, dword [esp + 0x142c]
call fcn.0041d7e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.004242e0
test eax, eax
je 0x42511f
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x4250ee
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
push 0
push 0x4600010
push 0x43212c
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 0x42510f
mov eax, dword [ebp + 0x1c]
test eax, eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], esi
je 0x424e3b
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.004179ab
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 0x424ea1
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 0x424ea6
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 0x424f23
mov eax, dword [esp + 0xc]
push eax
call fcn.00407443
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [ebx + 0x54], eax
call fcn.00424290
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.0041d7e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00407443
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 0x42510f
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
je 0x424ff7
cmp eax, 0x12c
jbe 0x425118
cmp eax, 0x12e
ja 0x425118
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 0x42510f
lea edx, [esp + 0x20]
push edx
lea ecx, [ebx + 0x4c]
call fcn.004038a0
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.0041d7e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x4250ee
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 0x425030
mov eax, dword [ebx + 0x44]
test eax, eax
mov dword [esp + 0x14], 0
jne 0x4250ee
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 0x42510f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4250ad
mov edx, dword [esi]
mov eax, dword [esp + 0xc]
add edx, ecx
cmp edx, eax
ja 0x4250ad
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 0x4250af
add dword [esi], ecx
test ecx, ecx
ja 0x425030
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.0041d7e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00424290
mov eax, 2
mov ecx, dword [esp + 0x142c]
call fcn.0041d7e1
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.00424290
mov ecx, dword [esp + 0x142c]
or eax, 0xffffffff
call fcn.0041d7e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18