Function at 0x424284
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x424642
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.004046e4
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x54], edx
lea eax, [ebp - 0x124]
mov ecx, 0x424658
mov edx, dword [ebp - 0xc]
call fcn.004049e8
mov edx, dword [ebp - 0x124]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00423fa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
test eax, eax
jbe 0x424328
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x54]
jne 0x424328
mov eax, dword [ebp + 8]
mov edx, 0x424668
call fcn.00404738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00403928
jmp 0x424624
mov eax, dword [ebp - 0xc]
call fcn.0040a394
test al, al
je 0x42434a
push 0x22
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41ac14]
call fcn.0041de74
mov dword [ebp - 0x1c], eax
jmp 0x424361
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41ac14]
call fcn.0041de74
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4245e1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x42fd68], 0
jne 0x42437d
call fcn.00423bc8
cmp dword [0x42fd68], 0
jne 0x42439d
mov eax, dword [ebp + 8]
mov edx, 0x424678
call fcn.00404738
call fcn.0040416c
jmp 0x424624
cmp dword [0x42fd68], 0
je 0x4245c0
push 0
mov eax, dword [0x42fd70]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00404b94
push eax
mov eax, dword [ebp - 8]
call fcn.00404b94
push eax
mov eax, dword [0x42fd68]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42459b
xor eax, eax
push ebp
push 0x424594
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov edx, 0x13
mov eax, dword [ebp - 0x10]
call fcn.00423ce8
test al, al
jne 0x424408
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc8
je 0x424457
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x424423
cmp dword [ebp - 0x18], 0xce
je 0x424457
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x128]
call fcn.00409f54
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp + 8]
mov edx, 0x4246a8
call fcn.004049e8
call fcn.0040416c
call fcn.0040416c
jmp 0x424624
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
jne 0x4244a6
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x50]
mov edx, 5
mov eax, dword [ebp - 0x10]
call fcn.00423ce8
test al, al
jne 0x424481
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50], edx
jmp 0x4244a6
push 0
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.0041d9e4
mov eax, dword [ebp - 4]
lea edx, [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jbe 0x42457d
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0041da48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0041d9e4
xor eax, eax
push ebp
push 0x424576
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x424538
lea edx, [ebp - 0x11d]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add dword [eax + 0x54], edx
push 0
push 8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.0041d9e4
mov eax, dword [ebp - 4]
lea edx, [eax + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp byte [ebp - 0x1d], 0
jne 0x424533
cmp dword [ebp - 0x14], 0
ja 0x424533
xor eax, eax
jmp 0x424535
mov al, 1
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x14]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x42455b
cmp dword [ebp - 0x14], 0
jne 0x4244e4
mov eax, dword [ebp + 8]
mov edx, 0x424668
call fcn.00404738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42457d
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4245c0
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
lea eax, [ebp - 0x12c]
call fcn.00423d28
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp + 8]
mov edx, 0x4246b8
call fcn.004049e8
call fcn.0040416c
jmp 0x424624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4245e8
mov eax, dword [ebp - 0x1c]
call fcn.00403928
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00403928
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424649
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.00404708
ret