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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea edi, [esi + 4]
push ebx
push 1
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x463cc2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00463060
test eax, eax
jne 0x463d05
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x41b]
mov byte [ebp - 0x41c], 0
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 1
mov dword [ebp + 0x14], 0
mov ecx, dword [esi + 0x38]
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp - 0x41c]
push 0x400
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x463dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x463d79
push 0x513f14
lea ecx, [esi + 0x10]
mov dword [esi + 8], 0x19f
mov dword [esi + 0xc], 0xf0000003
call fcn.004c51c0
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x463d8d
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
jmp 0x463d93
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], ebx
cmp eax, ebx
je 0x463da0
push eax
call edi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], ebx
cmp eax, ebx
je 0x463dad
push eax
call edi
mov edx, dword [ebp - 0x14]
push ebx
push edx
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x14]
test edi, edi
je 0x463de5
lea ecx, [eax + ebx]
cmp ecx, edi
jbe 0x463de5
mov eax, edi
sub eax, ebx
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x463e09
test eax, eax
je 0x463f5c
mov ecx, dword [ebp + 0x20]
lea edx, [ebp - 0x41c]
push eax
push edx
call fcn.00444b60
jmp 0x463eb7
mov edx, dword [ebp + 0x28]
push edx
push eax
lea eax, [ebp - 0x41c]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x463eac
cmp dword [esi + 0xc], 1
je 0x463e4a
push 0x513ef8
lea ecx, [esi + 0x10]
mov dword [esi + 8], 0x1b5
mov dword [esi + 0xc], 2
call fcn.004c51c0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x463e5c
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
jmp 0x463e62
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], 0
test eax, eax
je 0x463e73
push eax
call edi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], 0
test eax, eax
je 0x463e84
push eax
call edi
mov ecx, dword [ebp - 0x14]
push 0
push ecx
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x463f5c
add ebx, dword [ebp + 0x14]
test edi, edi
je 0x463d29
cmp ebx, edi
jae 0x463f5c
jmp 0x463d29
xor eax, eax
lea ecx, [esi + 0x10]
push eax
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.004c51c0
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x14], ebx
je 0x463f87
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
jmp 0x463f8d
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], ebx
cmp eax, ebx
je 0x463f9a
push eax
call edi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], ebx
cmp eax, ebx
je 0x463fa7
push eax
call edi
mov eax, dword [ebp - 0x14]
push ebx
push eax
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24