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

Disassembly:
push 0x54
mov eax, 0x60f235
call fcn.004e1c06
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
push 0x50
call fcn.004197ca
pop ecx
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
test eax, eax
je 0x52ca03
lea ecx, [ebx + 4]
push ecx
mov ecx, eax
call fcn.0050536e
mov ecx, eax
mov dword [ebp - 0x48], eax
jmp 0x52ca08
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 0x52cc43
push dword [ebp - 0x50]
add ebx, 0x2c
mov ecx, eax
push ebx
push ebx
push dword [eax + 4]
call fcn.0052c1ec
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 0x52ca7b
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.0052c1ec
cmp dword [ebp - 0x54], 0x400
je 0x52ca3e
jmp 0x52cab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x52ccfb
cmp dword [0x68e42c], 2
jl 0x52caae
push edi
push str.InternetReadFile___failed:__d
call fcn.005043a3
push eax
push 2
call fcn.00501a6e
add esp, 0x10
test edi, edi
jne 0x52cc3d
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 0x52cb0b
cmp dword [0x68e42c], 2
jl 0x52cb0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpQueryInfo_STATUS_CODE__failed:__d
call fcn.005043a3
push eax
push 2
call fcn.00501a6e
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 0x52cb9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x52cb62
cmp dword [0x68e42c], 2
jl 0x52cb5b
push eax
push str.HttpQueryInfo_RAW_HEADERS__failed:__d
call fcn.005043a3
push eax
push 2
call fcn.00501a6e
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x52cb9f
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x60]
inc eax
push ebx
push eax
mov ecx, ebx
call fcn.00512a6f
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 0x52cb9c
cmp dword [0x68e42c], 2
jl 0x52cb5b
push 0x7a
push str.HttpQueryInfo_RAW_HEADERS__failed_twice:__d
jmp 0x52cb4b
mov eax, dword [ebp - 0x44]
mov byte [ebx + eax], 0
jmp 0x52cc1c
push 0x3a
push ebx
call fcn.004e4190
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x52cc2f
lea eax, [ebp - 0x55]
push eax
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004f8bab
mov byte [ebp - 4], 2
inc edi
cmp byte [edi], 0x20
je 0x52cbc7
push 0x646768
push edi
call fcn.005f34b0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x52cc23
lea eax, [ebp - 0x56]
push eax
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.004f8bab
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.0052c7f3
lea ecx, [ebp - 0x40]
add ebx, 2
call fcn.004fd0c2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004fd0c2
cmp byte [ebx], 0
jne 0x52cba5
jmp 0x52cc2f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004fd0c2
mov ebx, dword [ebp - 0x4c]
mov ecx, ebx
push 7
call fcn.0052c768
jmp 0x52ccb6
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2f14
cmp edi, eax
ja 0x52cc74
je case.0x52cc64.12002
add edi, 0xffffd11e
cmp edi, 0x2b
ja case.0x52cc64.12004
movzx eax, byte [edi + 0x52cd3d]
jmp dword [eax*4 + 0x52cd31]
mov dword [ecx + 0x1c], 1
jmp 0x52ccb6
mov eax, 0x2f80
cmp edi, eax
ja 0x52cd10
je case.0x52cc64.12002
cmp edi, 0x2f17
je case.0x52cc64.12002
cmp edi, 0x2f76
jbe case.0x52cc64.12004
cmp edi, 0x2f78
jbe case.0x52cc64.12002
cmp edi, 0x2f7c
je case.0x52cc64.12002
mov dword [ecx + 0x1c], 2
cmp byte [ebx + 0x42c], 0
jne 0x52ccfb
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 [0x6147a0]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
call fcn.0052c87d
test esi, esi
je 0x52cd08
push esi
lea ecx, [ebp - 0x50]
call fcn.00505494
call fcn.004e1bb5
ret 4
cmp edi, 0x2f89
jb case.0x52cc64.12004
cmp edi, 0x2f8a
jbe case.0x52cc64.12002
cmp edi, 0x2f8f
jne case.0x52cc64.12004
mov dword [ecx + 0x1c], 3
jmp 0x52ccb6