Function at 0x101a80c
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x102e050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x18], eax
call fcn.0101ce9b
lea ecx, [ebp - 0x3c]
call fcn.0101ce9b
lea ecx, [ebp - 0x44]
call fcn.0101ce9b
xor ebx, ebx
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
call fcn.0101c542
lea ecx, [ebp - 0x7c]
call fcn.0102b501
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x20], ebx
call fcn.0100b49e
mov esi, eax
cmp esi, ebx
jl 0x101a98f
cmp dword [ebp - 0x54], ebx
je 0x101a920
cmp dword [ebp - 0x20], ebx
jne 0x101a920
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x50], ebx
call fcn.0101ce9b
lea ecx, [ebp - 0xc]
call fcn.0101ce9b
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.01009941
push eax
call fcn.0100d583
mov esi, eax
cmp esi, ebx
jl 0x101a901
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.01009941
push eax
push dword [ebp - 0x50]
call fcn.0100e5ca
mov esi, eax
cmp esi, ebx
jl 0x101a901
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push 0x1003124
push eax
call fcn.0101d4ed
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x101a901
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 8]
call fcn.0100b9b5
mov esi, eax
cmp dword [ebp - 0x50], ebx
je 0x101a90e
push dword [ebp - 0x50]
call sub.CLUSAPI.dll_CloseCluster
lea ecx, [ebp - 0xc]
call fcn.0101cff5
lea ecx, [ebp - 0x14]
call fcn.0101cff5
jmp 0x101a92c
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.0100b9b5
mov esi, eax
cmp esi, ebx
jl 0x101a98f
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
call fcn.0101d352
mov esi, eax
cmp esi, ebx
jl 0x101a98f
push dword [ebp - 0x60]
lea ecx, [ebp - 0x2c]
call fcn.0101d352
mov esi, eax
cmp esi, ebx
jl 0x101a98f
push 0x1003358
lea ecx, [ebp - 0x2c]
call fcn.0101d26a
mov esi, eax
cmp esi, ebx
jl 0x101a98f
mov esi, dword [ebp - 0x28]
push 1
lea ecx, [ebp - 0x44]
call fcn.0101cee6
push eax
push esi
call fcn.0100a59d
mov esi, eax
cmp esi, ebx
jl 0x101a98f
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0101a101
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x54], ebx
jl 0x101ab86
mov edi, dword [ebp - 0x18]
add edi, 0x18
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp + 0x14]
jae 0x101ab75
cmp dword [edi - 0x18], 1
jne 0x101ab67
cmp dword [edi - 0x14], ebx
je 0x101ab67
cmp dword [edi], ebx
je 0x101ab67
cmp dword [edi - 8], 3
jb 0x101ab67
lea ecx, [ebp - 0x1c]
call fcn.0101ce9b
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
push dword [edi - 4]
push dword [ebp - 0x64]
call fcn.0100c4e7
mov esi, eax
cmp esi, ebx
jl 0x101ab5f
lea ecx, [ebp - 0xc]
call fcn.0101ce9b
lea ecx, [ebp - 0x14]
call fcn.0101ce9b
push dword [ebp - 0x38]
lea ecx, [ebp - 0xc]
call fcn.0101d352
mov esi, eax
cmp esi, ebx
jl 0x101ab4f
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.0101d26a
mov esi, eax
cmp esi, ebx
jl 0x101ab4f
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.0101d352
mov esi, eax
cmp esi, ebx
jl 0x101ab4f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.0101d26a
mov esi, eax
cmp esi, ebx
jl 0x101ab4f
push 1
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x101aa81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x101aa81
call fcn.01005299
mov esi, eax
jmp 0x101ab4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x101ab4f
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x5c]
push dword [edi]
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x50]
push edx
push eax
push ecx
mov dword [ebp - 0x50], ebx
call fcn.0101a3b1
push dword [edi]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.0101d46b
cmp esi, ebx
jl 0x101ab3f
lea ecx, [ebp - 0x7c]
call fcn.0102b501
test eax, eax
jl 0x101ab3f
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0101c60f
test eax, eax
jl 0x101ab3f
lea ecx, [ebp - 0x34]
call fcn.0101ce9b
lea ecx, [ebp - 0x24]
call fcn.0101ce9b
cmp esi, ebx
jl 0x101ab2f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0101c7ff
test eax, eax
jl 0x101ab2f
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x64]
call fcn.01019e67
mov esi, eax
cmp esi, ebx
jl 0x101ab2f
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call fcn.0101a28a
mov esi, eax
jmp 0x101aae9
lea ecx, [ebp - 0x24]
call fcn.0101cff5
lea ecx, [ebp - 0x34]
call fcn.0101cff5
lea ecx, [ebp - 0x4c]
call fcn.0101cff5
lea ecx, [ebp - 0x50]
call fcn.01012a65
lea ecx, [ebp - 0x14]
call fcn.0101cff5
lea ecx, [ebp - 0xc]
call fcn.0101cff5
lea ecx, [ebp - 0x1c]
call fcn.0101cff5
inc dword [ebp - 0x54]
add edi, 0x20
cmp esi, ebx
jge 0x101a9a0
cmp esi, ebx
jl 0x101ab86
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call fcn.01019da7
mov esi, eax
lea ecx, [ebp - 0x7c]
call fcn.0101c501
lea ecx, [ebp - 0x5c]
call fcn.01012a65
lea ecx, [ebp - 0x58]
call fcn.01012a65
lea ecx, [ebp - 0x44]
call fcn.0101cff5
lea ecx, [ebp - 0x3c]
call fcn.0101cff5
lea ecx, [ebp - 0x2c]
call fcn.0101cff5
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01007c80
leave
ret 0x30