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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [0x446414]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
push 0x3e
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x56]
xor eax, eax
push edi
push ecx
xor ebx, ebx
mov word [esp + 0x5c], ax
call fcn.004224d0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi + 0x2c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
push 5
push edx
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x34], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41ece6
lea eax, [esp + 0x50]
push eax
call fcn.0042137b
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
test eax, eax
je 0x41ec51
jmp 0x41eb20
push 0x3ff
lea ecx, [esp + 0x95]
push 0
push ecx
mov byte [esp + 0x9c], 0
call fcn.004224d0
mov ecx, dword [esi + 0x2c]
xor eax, eax
add esp, 0xc
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push 1
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x9c]
push ecx
mov dword [esp + 0x38], 0x28
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x400
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x41ebd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41eca6
mov edx, dword [esi + 8]
imul edx, edx, 0x3e8
push edx
push 0
lea eax, [esi + 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x41eccf
cmp eax, 1
je 0x41ecd6
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esp + 0x14], ebx
add ebx, dword [esp + 0x40]
lea eax, [ebx + 1]
push eax
mov dword [esp + 0x1c], eax
call fcn.0041f33f
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
push 0
push edi
call fcn.004224d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edi
call fcn.00423700
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
push edx
lea eax, [esp + 0xb0]
push eax
lea edx, [edi + ecx]
push edx
call fcn.00423700
mov eax, dword [esp + 0x38]
add esp, 0x28
test eax, eax
je 0x41ec43
push eax
call fcn.00420378
add esp, 4
mov dword [esp + 0x10], edi
cmp ebx, dword [esp + 0x1c]
jb 0x41eb20
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
je 0x41ece6
test ebx, ebx
je 0x41ecdd
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41ec82
mov eax, dword [esi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push ebx
push edi
lea eax, [esi + 0x34]
push eax
mov eax, dword [esi + 4]
push eax
call edx
push edi
call fcn.00420378
add esp, 4
mov byte [esi + 0xc], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
mov esi, 3
test edi, edi
je 0x41ecb8
push edi
call fcn.00420378
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0041fcea
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x41ecab
mov esi, 2
jmp 0x41ecab
push edi
call fcn.00420378
add esp, 4
mov ecx, dword [esp + 0x494]
pop edi
mov byte [esi + 0xc], 1
pop esi
pop ebx
xor ecx, esp
mov eax, 3
call fcn.0041fcea
mov esp, ebp
pop ebp
ret