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

Disassembly:
mov eax, 0x10012513
call fcn.10011420
sub esp, 0x42c
mov eax, dword [0x1001b0f8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 4], 1
xor esi, esi
push ebx
lea eax, [esi + 0x400]
push eax
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x414], ebx
call fcn.10004e9f
mov eax, dword [ebp - 0x434]
lea edi, [eax + esi]
lea eax, [ebp - 0x414]
push eax
push 0x400
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
dec eax
neg eax
sbb al, al
inc al
cmp al, 1
jne 0x10005344
cmp dword [ebp - 0x414], ebx
je 0x10005369
push edi
push dword [ebp - 0x414]
push edi
call fcn.10006d64
add esi, dword [ebp - 0x414]
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x438]
call fcn.10004e9f
jmp 0x100052f9
push ebx
push esi
lea ecx, [ebp - 0x438]
call fcn.10004e9f
mov eax, dword [ebp - 0x434]
movzx eax, byte [eax]
push 0x3ff
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp esi, ebx
je 0x100054f1
mov eax, dword [ebp - 0x418]
mov eax, dword [eax]
cmp byte [eax + 0x2c], bl
je 0x10005463
lea edi, [esi + esi*4]
push ebx
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], edi
call fcn.10004e9f
push esi
push dword [ebp - 0x434]
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x424]
call fcn.1000aabd
add esp, 0x10
push ebx
push dword [ebp - 0x414]
lea ecx, [ebp - 0x428]
mov dword [ebp + 8], eax
call fcn.10004e9f
add edi, esi
cmp dword [ebp + 8], 0xfffffffc
je 0x100053ae
cmp dword [ebp + 8], 0xfffffffb
je 0x100053ae
cmp dword [ebp + 8], ebx
jne 0x100054dc
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x1000541b
push dword [ebp - 0x424]
call fcn.1000418a
mov ecx, dword [0x1001bb90]
cmp ecx, ebx
jne 0x10005452
push 0x24
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x418], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x10005444
call fcn.10010dcc
jmp 0x10005446
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x1001bb90], ecx
push 1
push dword [ebp - 0x424]
call fcn.1001100d
test eax, eax
jmp 0x100054bc
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x428]
call fcn.10004d76
mov ecx, dword [0x1001bb90]
cmp ecx, ebx
jne 0x100054ac
push 0x24
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x418], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x1000549e
call fcn.10010dcc
jmp 0x100054a0
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x1001bb90], ecx
push 1
push dword [ebp - 0x424]
call fcn.1001100d
cmp eax, 0xffffffff
jne 0x100054dc
mov ecx, dword [0x1001bb90]
cmp ecx, ebx
mov esi, ecx
je 0x100054d6
call fcn.10010e11
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [0x1001bb90], ebx
mov ecx, dword [0x1001bb90]
cmp ecx, ebx
je 0x100054f1
push dword [0x1001bb88]
call fcn.1000e423
lea ecx, [ebp - 0x428]
call fcn.10003db6
lea ecx, [ebp - 0x438]
call fcn.10003db6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100112e6
leave
ret 8