Function at 0x1000e0c0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b34b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x150], edi
cmp dword [edi + 0x10], ebx
je 0x1000e214
cmp dword [esi + 0x10], ebx
je 0x1000e214
cmp dword [esi + 0x14], 8
jb 0x1000e11e
mov eax, dword [esi]
jmp 0x1000e120
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x1000e214
mov ecx, esi
call fcn.1000d020
test al, al
je 0x1000e178
cmp dword [edi + 0x10], ebx
je 0x1000e16f
cmp dword [edi + 0x14], 8
jb 0x1000e14e
mov eax, dword [edi]
jmp 0x1000e150
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x1000e16f
mov ecx, edi
call fcn.1000d020
test al, al
je 0x1000e214
push edi
call fcn.1000d470
add esp, 4
mov edi, 7
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xb8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push ebx
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push esi
mov word [ecx], dx
call fcn.1000b050
call fcn.1000dd40
add esp, 0x24
cmp al, bl
jne 0x1000e21b
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x1000e1f1
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0xa4], esi
jb 0x1000e214
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10065453
add esp, 4
xor al, al
jmp 0x1000e7fc
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x150]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x148], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push ebx
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.1000b050
call fcn.1000dd40
add esp, 0x24
cmp al, bl
jne 0x1000e29a
lea ecx, [ebp - 0x80]
call fcn.1000b180
lea ecx, [ebp - 0x64]
call fcn.1000b180
lea ecx, [ebp - 0x48]
call fcn.1000b180
lea ecx, [ebp - 0xb8]
call fcn.1000b180
xor al, al
jmp 0x1000e7fc
mov ecx, esi
call fcn.1000d020
test al, al
jne 0x1000e389
lea ecx, [ebp - 0x64]
push ecx
call fcn.1000d470
add esp, 4
test al, al
je 0x1000e270
cmp dword [ebp - 0x70], ebx
lea ebx, [ebp - 0x48]
je 0x1000e2c4
lea ebx, [ebp - 0x80]
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.10010300
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 4
call fcn.1000d1f0
add esp, 0xc
test al, al
je 0x1000e323
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.1000cba0
test al, al
je 0x1000e323
lea ecx, [ebp - 0x2c]
call fcn.1000b180
lea ecx, [ebp - 0x80]
call fcn.1000b180
lea ecx, [ebp - 0x64]
call fcn.1000b180
lea ecx, [ebp - 0x48]
call fcn.1000b180
lea ecx, [ebp - 0xb8]
call fcn.1000b180
jmp 0x1000e7fa
lea edx, [ebp - 0x2c]
push 1
push edx
call fcn.1000dc30
mov eax, dword [ebp - 0x2c]
mov ecx, 8
add esp, 8
cmp dword [ebp - 0x18], ecx
jae 0x1000e341
lea eax, [ebp - 0x2c]
cmp dword [esi + 0x14], ecx
jb 0x1000e348
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.1000b180
lea ecx, [ebp - 0x80]
call fcn.1000b180
lea ecx, [ebp - 0x64]
call fcn.1000b180
lea ecx, [ebp - 0x48]
call fcn.1000b180
lea ecx, [ebp - 0xb8]
call fcn.1000b180
mov al, bl
jmp 0x1000e7fc
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
push ebx
push 1
lea eax, [ebp - 0x160]
push eax
push esi
mov byte [ebp - 4], 5
call fcn.1000ea20
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add esp, 0x10
add ecx, edx
mov dword [ebp - 0x148], ebx
je 0x1000e66a
mov dword [ebp - 0x14c], ebx
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x174]
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + esi + 0x10]
add ecx, esi
sub eax, edx
dec eax
push eax
inc edx
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.1000c0d0
mov edx, dword [ebp - 0x150]
push 0xffffffffffffffff
mov byte [ebp - 4], 6
xor ecx, ecx
push ebx
mov word [ebp - 0x9c], cx
push edx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
call fcn.1000b050
push 0x5c
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.1000bd60
add esp, 4
push 0x2f
call fcn.1000bd60
add esp, 4
push 1
xor eax, eax
push 0x1012329c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.1000abb0
mov byte [ebp - 4], 8
xor ecx, ecx
push 1
mov word [ebp - 0xd4], cx
push 0x1012329c
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
call fcn.1000abb0
mov eax, esi
lea ecx, [ebp - 0xd4]
lea esi, [ebp - 0x128]
mov byte [ebp - 4], 9
call fcn.100103b0
lea edx, [ebp - 0x144]
push edx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0xa
call fcn.100103f0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0xb
call fcn.10010440
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0xf8], esi
jb 0x1000e504
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], cx
cmp dword [ebp - 0x114], esi
jb 0x1000e530
mov edx, dword [ebp - 0x128]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], ebx
mov word [ebp - 0x128], ax
cmp dword [ebp - 0xc0], esi
jb 0x1000e55c
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], esi
jb 0x1000e586
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
lea edx, [ebp - 0xf0]
xor ecx, ecx
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.1000d470
mov edx, dword [ebp - 0x14c]
add edx, dword [ebp - 0x160]
add esp, 4
lea eax, [ebp - 0xf0]
push eax
push edx
call fcn.1000e0c0
add esp, 8
cmp dword [ebp - 0xdc], esi
jb 0x1000e5d4
mov eax, dword [ebp - 0xf0]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0x88], esi
jb 0x1000e600
mov edx, dword [ebp - 0x9c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x130], esi
jb 0x1000e630
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.10065453
add esp, 4
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
inc dword [ebp - 0x148]
add dword [ebp - 0x14c], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x148], eax
jb 0x1000e3e5
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov edx, dword [ebp - 0x174]
push ebx
push ebx
lea ecx, [ebp - 0x170]
push ecx
push edx
mov byte [ebp - 4], 0x11
call fcn.1000ea20
mov ecx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 0x10
add eax, edx
mov dword [ebp - 0x14c], ebx
je 0x1000e715
mov dword [ebp - 0x148], ebx
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x148]
push ecx
add edx, esi
push edx
call fcn.1000e0c0
mov ecx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
inc dword [ebp - 0x14c]
add dword [ebp - 0x148], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 8
cmp dword [ebp - 0x14c], eax
jb 0x1000e6c7
cmp esi, ebx
je 0x1000e73a
mov edi, dword [ebp - 0x16c]
mov eax, esi
call fcn.1000c860
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.10065453
add esp, 4
mov edi, 7
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
cmp eax, ebx
je 0x1000e775
mov edi, dword [ebp - 0x15c]
call fcn.1000c860
mov edx, dword [ebp - 0x160]
push edx
call fcn.10065453
add esp, 4
mov edi, 7
mov esi, 8
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
cmp dword [ebp - 0x6c], esi
jb 0x1000e79d
mov eax, dword [ebp - 0x80]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], esi
jb 0x1000e7ba
mov edx, dword [ebp - 0x64]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x34], esi
jb 0x1000e7d7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0xa4], esi
jb 0x1000e7fa
mov eax, dword [ebp - 0xb8]
push eax
call fcn.10065453
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret