Function at 0x6c10dd50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x28c
test byte [0x6c1450b0], 8
jne 0x6c10de10
mov dword [esp], 0
call fcn.6c12c120
cmp edi, 0x80000000
je 0x6c10de40
cmp edi, 0x40000000
je 0x6c10df88
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
jne 0x6c10ddb0
mov eax, dword [ebx + 0x40]
test byte [eax + 0x13], 0x10
jne 0x6c10ddcc
add esp, 0x28c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x48], 0xffffffff
sub esp, 4
test byte [eax + 0x13], 0x10
je 0x6c10dda2
mov dword [esp + 0x74], 0
call fcn.6c12dcd0
mov dword [esp + 0x10], 8
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x64
mov eax, dword [ebx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6c13eb60
jmp 0x6c10dda2
mov dword [esp + 0xc], 0x6c147b7c
mov dword [esp + 8], str.FTP_FtpOpenFileW
mov dword [esp + 4], 0x6c1450b0
mov dword [esp], 3
call fcn.6c10a080
jmp 0x6c10dd6d
mov ecx, dword [esp + 0x2a0]
mov edx, esi
mov eax, ebx
call fcn.6c10d570
test eax, eax
je 0x6c10dd91
lea edx, [esp + 0x30]
mov eax, ebx
xor ebp, ebp
call fcn.6c10ad10
test eax, eax
jne 0x6c10dfa8
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
je 0x6c10de88
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov dword [ebx + 0x48], 0xffffffff
sub esp, 4
cmp edi, 0x80000000
jne 0x6c10df27
lea edx, [esp + 0x3c]
xor eax, eax
mov ecx, 0xe
mov dword [esp + 0x38], 0x3c
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x44], 1
mov edi, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [esp + 0x48], eax
movzx eax, word [ebx + 0x78]
mov word [esp + 0x50], ax
mov eax, dword [ebx + 0x80]
mov dword [esp], esi
lea esi, [esp + 0x34]
mov dword [esp + 0x54], eax
call edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.wininet.dll_InternetCreateUrlW
mov edx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0x10
test eax, eax
jne 0x6c10df1e
mov ecx, dword fs:[0x18]
cmp dword [ecx + 0x34], 0x7a
je 0x6c10e038
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call edx
mov eax, dword [ebx + 0x40]
test byte [eax + 0x13], 0x10
je 0x6c10df76
test ebp, ebp
je 0x6c10dfa0
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 8
mov dword [esp + 8], 0x3c
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6c13eb60
mov edx, 1
mov eax, ebp
call fcn.6c10a860
mov eax, dword [ebp + 8]
add esp, 0x28c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x2a0]
mov edx, esi
mov eax, ebx
call fcn.6c10d690
jmp 0x6c10de50
xor ebp, ebp
jmp 0x6c10df6a
mov dword [esp + 8], 0x54
mov dword [esp + 4], 0x6c1487a0
mov dword [esp], ebx
call fcn.6c124320
mov edx, 0xffffffff
movd xmm1, dword [esp + 0x2a4]
movd xmm0, dword [esp + 0x2a0]
mov ebp, eax
mov dword [eax], 7
punpckldq xmm0, xmm1
movq qword [eax + 0x10], xmm0
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], eax
xor eax, eax
mov dword [ebp + 0x4c], eax
mov dword [esp], ebx
call fcn.6c124560
mov edx, dword [ebx + 0x38]
lea ecx, [ebx + 0x38]
mov dword [ebp + 0x40], ebx
lea eax, [ebp + 0x30]
movd xmm2, ecx
movd xmm0, edx
punpckldq xmm0, xmm2
movq qword [ebp + 0x30], xmm0
mov dword [edx + 4], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x50], ebp
jmp 0x6c10de6d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x24], eax
je 0x6c10e086
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.wininet.dll_InternetCreateUrlW
sub esp, 0x10
test eax, eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jne 0x6c10e0a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp], eax
call edx
mov edx, dword [esp + 0x24]
jmp 0x6c10df1e
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x74]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
call sym.wininet.dll_CreateUrlCacheEntryW
sub esp, 0x14
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x6c10e086
mov dword [esp], esi
call edi
mov dword [ebp + 0x4c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x40000000
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
jne 0x6c10e086
test byte [0x6c1450b0], 4
jne 0x6c10e162
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call edx
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x4c], 0
jmp 0x6c10e086
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xc], str.Could_not_create_cache_file:__lu_n
mov dword [esp + 8], str.FTP_FtpOpenFileW
mov dword [esp + 4], 0x6c1450b0
mov dword [esp], 2
mov dword [esp + 0x10], eax
call fcn.6c10a080
jmp 0x6c10e140