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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2c13
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x7c
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
call fcn.1002cc50
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x100534da
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 8], 0
jne 0x100534ef
mov dword [ebp - 0x60], 0x100fbd7c
push 0x1010887c
lea edx, [ebp - 0x60]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
jne 0x100535be
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x1005350d
mov dword [ebp - 0x48], 1
jmp 0x10053514
mov dword [ebp - 0x48], 2
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jne 0x10053529
mov dword [ebp - 0x4c], 0
jmp 0x1005359c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x38]
mov al, byte [edx]
mov byte [ebp - 0x31], al
add dword [ebp - 0x38], 1
cmp byte [ebp - 0x31], 0
jne 0x10053538
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x3fffffff
jle 0x1005356e
mov dword [ebp - 0x50], 0
jmp 0x10053596
mov eax, dword [ebp - 0x40]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x80], esp
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.100492f0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
push 0
mov edx, dword [ebp - 0x48]
push edx
push 0x80000000
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0xc], 0
je 0x100535d4
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0xffffffff
jne 0x1005366f
call fcn.1002e8a0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call sym.COMMON.dll_public:_int___thiscall_CppSQLite3Exception::ErrorCode_void_const
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jg 0x1005365a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::IntToWString_int_
add esp, 8
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 1
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x84], esp
mov ecx, dword [ebp - 0x58]
push ecx
push str.GetFile__FtpOpenFile2_Failed:
push eax
call fcn.100346d0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 2
call fcn.1002e8a0
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
call fcn.1002e660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000a1c0
mov dword [ebp - 0x6c], 0x100fbdcc
push 0x1010887c
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR120.dll__CxxThrowException
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10053692
cmp dword [ebp - 0x3c], 0
ja 0x100536a9
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0xc], 0
jmp 0x10053729
mov dword [ebp - 4], 0xffffffff
jmp 0x1005373b
jmp 0x10053744
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret 0x10