Function at 0x45a9a0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x45a9a9
mov eax, dword [ebp - 4]
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x203c], ebx
mov dword [ebp - 0x2038], ebx
mov dword [ebp - 0x2034], ebx
mov dword [ebp - 0x2030], ebx
mov dword [ebp - 0x2028], ebx
mov dword [ebp - 0x202c], ebx
mov dword [ebp - 0x2024], ebx
mov dword [ebp - 0x2020], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404560
mov eax, dword [ebp - 0xc]
call fcn.00404560
mov eax, dword [ebp + 8]
call fcn.00404560
xor eax, eax
push ebp
push 0x45acf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45acb7
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x45ac5e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80000000
push 0
push 0
push 0x45ad04
mov eax, dword [ebp - 8]
call fcn.00404570
push eax
push 0x45ad10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45aaa5
lea eax, [ebp - 0x2020]
mov ecx, dword [ebp - 8]
mov edx, 0x45ad1c
call fcn.004043bc
mov ecx, dword [ebp - 0x2020]
mov dl, 1
mov eax, dword [0x40709c]
call fcn.0040bae0
call fcn.00403a68
push 0x45ad30
push dword [ebp - 8]
push 0x45ad44
lea eax, [ebp - 0x2024]
mov edx, 3
call fcn.00404430
mov edx, dword [ebp - 0x2024]
mov eax, dword [ebp - 4]
call fcn.0045b00c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0045977c
test al, al
je 0x45ac29
mov dl, 1
mov eax, dword [0x4127f8]
call fcn.004032ac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45ac54
lea eax, [ebp - 0x201c]
mov edx, 0x2000
call fcn.00406ab0
lea eax, [ebp - 0x10]
push eax
push 0x2000
lea eax, [ebp - 0x201c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x45ab30
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x45ab41
lea edx, [ebp - 0x201c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.00416758
cmp dword [ebp - 0x10], 0
jbe 0x45ab50
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3e], 0
je 0x45aafc
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00416514
push 0x45ad54
push dword [ebp - 8]
push 0x45ad64
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x202c]
call fcn.004082b8
push dword [ebp - 0x202c]
lea eax, [ebp - 0x2028]
mov edx, 4
call fcn.00404430
mov edx, dword [ebp - 0x2028]
mov eax, dword [ebp - 4]
call fcn.0045b00c
lea eax, [ebp - 0x2030]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004043bc
mov eax, dword [ebp - 0x2030]
call fcn.004086b4
test al, al
je 0x45abeb
push 0x21
lea eax, [ebp - 0x2034]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004043bc
mov ecx, dword [ebp - 0x2034]
mov dl, 1
mov eax, dword [0x412708]
call fcn.004169a8
mov dword [ebp - 0x1c], eax
jmp 0x45ac16
push 0xffff
lea eax, [ebp - 0x2038]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004043bc
mov ecx, dword [ebp - 0x2038]
mov dl, 1
mov eax, dword [0x412708]
call fcn.004169a8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45ac54
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00416bd8
jmp 0x45ac54
push 0x45ad70
push dword [ebp - 8]
push 0x45ad84
lea eax, [ebp - 0x203c]
mov edx, 3
call fcn.00404430
mov edx, dword [ebp - 0x203c]
mov eax, dword [ebp - 4]
call fcn.0045b00c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ac7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45acbe
cmp dword [ebp - 0x14], 0
je 0x45ac9a
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0x1c], 0
je 0x45aca8
lea eax, [ebp - 0x1c]
call fcn.0040d744
cmp dword [ebp - 0x18], 0
je 0x45acb6
lea eax, [ebp - 0x18]
call fcn.0040d744
ret