Function at 0x100130d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113e70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1015bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x100132fe
mov edi, dword [ebp + 8]
cmp eax, dword [edi + 4]
jne 0x100132fe
cmp dword [0x1016af88], ebx
je 0x10013139
mov eax, dword [ebp + 0x10]
push eax
push str.CopyDifferentFilesToPath_1___s_
push str.UpLoadFile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov ecx, dword [0x1013c5e8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], 0
mov dword [ebp - 0x14], 1
jle 0x100132da
jmp 0x10013162
mov esi, ecx
cmp dword [ebp - 0x14], 0
je 0x100132da
cmp dword [0x1016af88], 0
je 0x1001319b
mov edx, dword [esi]
mov eax, dword [edx + ebx*4]
mov ecx, dword [edi]
mov edx, dword [ecx + ebx*4]
push eax
push edx
push ebx
push str.CopyDifferentFilesToPath_2___d___s___s_
push str.UpLoadFile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov eax, dword [edi]
lea esi, [ebx*4]
add eax, esi
mov eax, dword [eax]
push eax
call fcn.100534e0
add esp, 4
cmp eax, 0xffffffff
je 0x100132da
test al, 0x10
je 0x100131e7
mov eax, dword [edi]
mov ecx, dword [eax + esi]
mov edx, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
push 0x10012c00
push eax
call fcn.10055230
add esp, 0xc
jmp 0x100132cd
cmp dword [ebp + 0x14], 0
je 0x100132cd
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x10]
add ecx, esi
push eax
call fcn.1006f540
test eax, eax
jne 0x10013227
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
add eax, esi
mov eax, dword [eax]
push 0
push eax
call fcn.100c0990
add esp, 8
test eax, eax
je 0x10013227
cmp dword [ebp + 0x18], 0
je 0x100132cd
mov eax, dword [edi]
add eax, esi
mov eax, dword [eax]
push eax
call fcn.100539d0
mov edx, dword [ebp + 0x10]
push eax
push edx
lea eax, [ebp - 0x10]
push 0x10123058
push eax
call fcn.1006d900
add esp, 0x14
cmp dword [ebp + 0x18], 0
jne 0x10013278
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.100c0590
add esp, 8
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.1006ab10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1006a980
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
push 0
add eax, esi
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100132a2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
add ecx, esi
call fcn.1006ab10
cmp dword [0x1016af88], 0
je 0x100132cd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + esi]
push eax
push str.CopyDifferentFilesToPath_3_CopyFileW__s_
push str.UpLoadFile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov ecx, dword [ebp + 0xc]
inc ebx
cmp ebx, dword [ecx + 4]
jl 0x10013160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1006a980
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret