Function at 0x4ee324
Capabilities:
Create http request
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 0x4ee32d
mov eax, dword [ebp - 4]
add esp, 0xfffff7b8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x284c], ebx
mov dword [ebp - 0x2844], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004045dc
xor eax, eax
push ebp
push 0x4ee689
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x4ee653
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x4ee69c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ee649
xor eax, eax
push ebp
push 0x4ee642
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0xa4080000
push 0
push 0
mov eax, ebx
call fcn.004045ec
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ee62b
xor eax, eax
push ebp
push 0x4ee624
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x14
lea eax, [ebp - 0x283e]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
call fcn.00402d14
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x283e]
push eax
push 5
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4ee46f
xor eax, eax
push ebp
push 0x4ee460
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2844]
lea edx, [ebp - 0x283e]
mov ecx, 0x15
call fcn.0040439c
mov eax, dword [ebp - 0x2844]
call fcn.00408428
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee46f
cmp dword [ebp - 0x24], 0
jle 0x4ee60d
xor eax, eax
push ebp
push 0x4ee5d8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x412678]
call fcn.00416e9c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4ee5c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov bl, 1
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
xor esi, esi
jmp 0x4ee59d
lea eax, [ebp - 0x2829]
xor ecx, ecx
mov edx, 0x2801
call fcn.00402d14
lea eax, [ebp - 0x18]
push eax
push 0x2801
lea eax, [ebp - 0x2829]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
test esi, esi
jne 0x4ee50b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004ee198
mov dword [ebp - 0x2848], eax
fild dword [ebp - 0x2848]
fdiv dword [0x4ee6dc]
call fcn.00402b18
add eax, esi
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov eax, dword [0x4f21b0]
cmp byte [eax], 0
jne 0x4ee568
mov eax, dword [ebp - 4]
push eax
push 0x4ee200
mov eax, dword [ebp - 4]
call fcn.0041ac00
cmp byte [ebp + 8], 0
je 0x4ee58c
test bl, bl
je 0x4ee58c
xor ebx, ebx
cmp byte [ebp - 0x2829], 0x4d
jne 0x4ee586
cmp byte [ebp - 0x2828], 0x5a
je 0x4ee58c
mov byte [ebp - 0x1d], 0
jmp 0x4ee5b1
lea edx, [ebp - 0x2829]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0x10]
cmp dword [ebp - 0x18], 0
jbe 0x4ee5b1
mov eax, dword [0x4f2048]
cmp byte [eax], 0
jne 0x4ee4d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee5ce
mov eax, dword [ebp - 0x1c]
call fcn.00403338
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee62b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee649
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee65d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee690
lea eax, [ebp - 0x284c]
call fcn.0040412c
lea eax, [ebp - 0x2844]
call fcn.0040412c
lea eax, [ebp - 8]
call fcn.0040412c
ret