Function at 0x1000b690
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002f466
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x1003a1c0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x1003a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x8c], 0
je 0x1000bbe3
cmp dword [edi + 0x108], 0
jne 0x1000bbe3
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x1000b6fb
mov ecx, dword [edi + 4]
jmp 0x1000b6fe
lea ecx, [edi + 4]
lea esi, [esp + 0x148]
call fcn.10013380
mov dword [esp + 0x190], 0
cmp dword [edi + 0x34], ebx
jb 0x1000b71f
mov ecx, dword [edi + 0x20]
jmp 0x1000b722
lea ecx, [edi + 0x20]
lea esi, [esp + 0x110]
call fcn.10013380
mov byte [esp + 0x190], 1
cmp dword [edi + 0xa8], ebx
jb 0x1000b746
mov ecx, dword [edi + 0x94]
jmp 0x1000b74c
lea ecx, [edi + 0x94]
lea esi, [esp + 0x164]
call fcn.10013380
mov byte [esp + 0x190], 2
cmp dword [esp + 0x128], ebx
mov ecx, dword [esp + 0x114]
jae 0x1000b777
lea ecx, [esp + 0x114]
call fcn.10013510
test al, al
jne 0x1000b809
cmp dword [esp + 0x17c], ebx
jb 0x1000b79d
mov eax, dword [esp + 0x168]
push eax
call fcn.1001dad4
add esp, 4
xor edi, edi
cmp dword [esp + 0x128], ebx
mov esi, 0xf
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], edi
mov byte [esp + 0x168], 0
jb 0x1000b7d3
mov ecx, dword [esp + 0x114]
push ecx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x160], ebx
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], edi
mov byte [esp + 0x114], 0
jb 0x1000b802
mov edx, dword [esp + 0x14c]
push edx
call fcn.1001dad4
add esp, 4
xor al, al
jmp 0x1000bbe5
mov edi, dword [edi + 0x8c]
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x1000b81b
jmp dword [eax*4 + 0x1000bc0c]
cmp dword [esp + 0x160], ebx
mov eax, dword [esp + 0x14c]
jae 0x1000b839
lea eax, [esp + 0x14c]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push eax
call esi
cmp dword [esp + 0x160], ebx
mov ecx, dword [esp + 0x14c]
jae 0x1000b859
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x128], ebx
mov eax, dword [esp + 0x114]
jae 0x1000b870
lea eax, [esp + 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
test eax, eax
jne case.default.0x1000b81b
cmp dword [esp + 0x160], ebx
mov ecx, dword [esp + 0x14c]
jae 0x1000b897
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x128], ebx
mov eax, dword [esp + 0x114]
jae 0x1000b8ae
lea eax, [esp + 0x114]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je case.default.0x1000b81b
cmp dword [esp + 0x128], ebx
mov eax, dword [esp + 0x114]
jae 0x1000b8d7
lea eax, [esp + 0x114]
push eax
call esi
jmp case.default.0x1000b81b
lea eax, [esp + 0x110]
push eax
mov ecx, str.expand.exe__
lea edi, [esp + 0x18]
call fcn.10008e10
add esp, 4
push eax
mov edi, str.___F:__
lea esi, [esp + 0xdc]
mov byte [esp + 0x194], 3
call fcn.10008ec0
add esp, 4
lea ecx, [esp + 0x164]
push ecx
push eax
lea edi, [esp + 0x70]
mov byte [esp + 0x198], 4
call fcn.1000c720
push eax
mov edi, 0x1003308c
lea esi, [esp + 0x138]
mov byte [esp + 0x19c], 5
call fcn.10008ec0
add esp, 0xc
lea ecx, [esp + 0x68]
call fcn.10006190
lea ecx, [esp + 0xd8]
call fcn.10006190
lea ecx, [esp + 0x14]
mov byte [esp + 0x190], 9
call fcn.10006190
cmp dword [esp + 0x144], ebx
mov ecx, dword [esp + 0x130]
jae 0x1000b989
lea ecx, [esp + 0x130]
call fcn.10013990
jmp 0x1000bb59
lea edx, [esp + 0x110]
push edx
mov ecx, str.expand.exe__
lea edi, [esp + 0x88]
call fcn.10008e10
add esp, 4
push eax
mov edi, str.___F:__
lea esi, [esp + 0x50]
mov byte [esp + 0x194], 0xa
call fcn.10008ec0
add esp, 4
lea ecx, [esp + 0x164]
push ecx
push eax
lea edi, [esp + 0x38]
mov byte [esp + 0x198], 0xb
call fcn.1000c720
push eax
mov edi, 0x1003308c
lea esi, [esp + 0x138]
mov byte [esp + 0x19c], 0xc
call fcn.10008ec0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.10006190
lea ecx, [esp + 0x4c]
call fcn.10006190
lea ecx, [esp + 0x84]
mov byte [esp + 0x190], bl
call fcn.10006190
cmp dword [esp + 0x144], ebx
mov ecx, dword [esp + 0x130]
jae 0x1000ba3c
lea ecx, [esp + 0x130]
call fcn.10013990
test eax, eax
sete al
test al, al
je 0x1000ba68
cmp dword [esp + 0x128], ebx
mov eax, dword [esp + 0x114]
jae 0x1000ba61
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x190], 2
call fcn.10006190
lea edx, [esp + 0x110]
push edx
mov ecx, str.expand.exe__
lea edi, [esp + 0xa4]
call fcn.10008e10
add esp, 4
push eax
mov edi, str.___F:__
lea esi, [esp + 0xf8]
mov byte [esp + 0x194], 0x11
call fcn.10008ec0
add esp, 4
lea ecx, [esp + 0x164]
push ecx
push eax
lea edi, [esp + 0xc4]
mov byte [esp + 0x198], 0x12
call fcn.1000c720
push eax
mov edi, 0x1003308c
lea esi, [esp + 0x138]
mov byte [esp + 0x19c], 0x13
call fcn.10008ec0
add esp, 0xc
lea ecx, [esp + 0xbc]
call fcn.10006190
lea ecx, [esp + 0xf4]
call fcn.10006190
lea ecx, [esp + 0xa0]
mov byte [esp + 0x190], 0x17
call fcn.10006190
cmp dword [esp + 0x144], ebx
mov ecx, dword [esp + 0x130]
jae 0x1000bb32
lea ecx, [esp + 0x130]
call fcn.10013990
test eax, eax
jne 0x1000bb59
cmp dword [esp + 0x128], ebx
mov eax, dword [esp + 0x114]
jae 0x1000bb52
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0x12c]
call fcn.10006190
cmp dword [esp + 0x17c], ebx
jb 0x1000bb7e
mov edx, dword [esp + 0x168]
push edx
call fcn.1001dad4
add esp, 4
xor edi, edi
cmp dword [esp + 0x128], ebx
mov esi, 0xf
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], edi
mov byte [esp + 0x168], 0
jb 0x1000bbb4
mov eax, dword [esp + 0x114]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x160], ebx
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], edi
mov byte [esp + 0x114], 0
jb 0x1000bbe3
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.1001dad4
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.1001e327
mov esp, ebp
pop ebp
ret