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

Disassembly:
push 0x54
mov eax, 0x61ca85
call fcn.004f0658
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
push 0x50
call fcn.0041b40a
pop ecx
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
test eax, eax
je 0x53ab03
lea ecx, [ebx + 4]
push ecx
mov ecx, eax
call fcn.00513760
mov ecx, eax
mov dword [ebp - 0x48], eax
jmp 0x53ab08
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, ecx
mov dword [ebp - 0x50], esi
and dword [ebp - 0x54], 0
lea eax, [ecx + 0x44]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [ebp - 0x60], eax
test edi, edi
jne 0x53ad43
push dword [ebp - 0x50]
add ebx, 0x2c
mov ecx, eax
push ebx
push ebx
push dword [eax + 4]
call fcn.0053a2ec
mov edi, dword [ebp - 0x4c]
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
push eax
push 0x400
push ebx
push dword [edi + 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x53ab7b
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
add eax, ebx
push eax
mov eax, dword [ebp - 0x60]
mov ecx, eax
push ebx
push dword [eax + 4]
call fcn.0053a2ec
cmp dword [ebp - 0x54], 0x400
je 0x53ab3e
jmp 0x53abb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x53adfb
cmp dword [0x69b64c], 2
jl 0x53abae
push edi
push str.InternetReadFile___failed:__d
call fcn.005127bc
push eax
push 2
call fcn.0050ff9e
add esp, 0x10
test edi, edi
jne 0x53ad3d
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
push ecx
mov dword [eax + 0x1c], ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ecx
push eax
push 0x20000013
push dword [edi + 0x24]
mov dword [ebp - 0x44], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x53ac0b
cmp dword [0x69b64c], 2
jl 0x53ac0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpQueryInfo_STATUS_CODE__failed:__d
call fcn.005127bc
push eax
push 2
call fcn.0050ff9e
add esp, 0x10
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x5c]
push 0
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x16
push dword [edi + 0x24]
mov dword [ebp - 0x44], 0x3ff
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x53ac9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x53ac62
cmp dword [0x69b64c], 2
jl 0x53ac5b
push eax
push str.HttpQueryInfo_RAW_HEADERS__failed:__d
call fcn.005127bc
push eax
push 2
call fcn.0050ff9e
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x53ac9f
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x60]
inc eax
push ebx
push eax
mov ecx, ebx
call fcn.00520c8f
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
push 0
push eax
push ebx
push 0x16
push dword [edi + 0x24]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x53ac9c
cmp dword [0x69b64c], 2
jl 0x53ac5b
push 0x7a
push str.HttpQueryInfo_RAW_HEADERS__failed_twice:__d
jmp 0x53ac4b
mov eax, dword [ebp - 0x44]
mov byte [ebx + eax], 0
jmp 0x53ad1c
push 0x3a
push ebx
call fcn.004f2450
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x53ad2f
lea eax, [ebp - 0x55]
push eax
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0050728b
mov byte [ebp - 4], 2
inc edi
cmp byte [edi], 0x20
je 0x53acc7
push 0x653538
push edi
call fcn.006017a0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x53ad23
lea eax, [ebp - 0x56]
push eax
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.0050728b
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ecx + 0x24]
call fcn.0053a8f3
lea ecx, [ebp - 0x40]
add ebx, 2
call fcn.0050b5ef
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0050b5ef
cmp byte [ebx], 0
jne 0x53aca5
jmp 0x53ad2f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0050b5ef
mov ebx, dword [ebp - 0x4c]
mov ecx, ebx
push 7
call fcn.0053a868
jmp 0x53adb6
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2f14
cmp edi, eax
ja 0x53ad74
je case.0x53ad64.12002
add edi, 0xffffd11e
cmp edi, 0x2b
ja case.0x53ad64.12004
movzx eax, byte [edi + 0x53ae3d]
jmp dword [eax*4 + 0x53ae31]
mov dword [ecx + 0x1c], 1
jmp 0x53adb6
mov eax, 0x2f80
cmp edi, eax
ja 0x53ae10
je case.0x53ad64.12002
cmp edi, 0x2f17
je case.0x53ad64.12002
cmp edi, 0x2f76
jbe case.0x53ad64.12004
cmp edi, 0x2f78
jbe case.0x53ad64.12002
cmp edi, 0x2f7c
je case.0x53ad64.12002
mov dword [ecx + 0x1c], 2
cmp byte [ebx + 0x42c], 0
jne 0x53adfb
push 0
push dword [ebx + 0x24]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [ebp - 0x48]
mov byte [ebx + 0x42c], 1
xor esi, esi
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x50], esi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x62275c]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
call fcn.0053a97d
test esi, esi
je 0x53ae08
push esi
lea ecx, [ebp - 0x50]
call fcn.00513886
call fcn.004f0607
ret 4
cmp edi, 0x2f89
jb case.0x53ad64.12004
cmp edi, 0x2f8a
jbe case.0x53ad64.12002
cmp edi, 0x2f8f
jne case.0x53ad64.12004
mov dword [ecx + 0x1c], 3
jmp 0x53adb6