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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10042c6c
push eax
mov eax, 0x326b4
mov dword fs:[0], esp
call fcn.10021550
push ebx
push ebp
push esi
mov esi, dword [esp + 0x326d0]
mov ebx, 1
push edi
push ebx
mov dword [esp + 0x20], ecx
push esi
mov dword [esp + 0x20], 0
call fcn.10009aa0
add esp, 8
test eax, eax
jne 0x1000f480
mov eax, ebx
jmp 0x1000f97f
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x88]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x8c]
push eax
push ecx
push esi
call fcn.10009b50
push ebx
push esi
call fcn.10009af0
mov ebp, eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x2dc]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0xd4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x326f0]
lea edx, [esp + 0xd4]
push edi
push edx
call fcn.10021018
lea eax, [esp + 0xdc]
push str..gddec
push eax
call fcn.10020fee
add esp, 0x28
cmp ebp, 0x400
jb 0x1000f78e
push 0x10051668
push esi
call fcn.10021931
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1000f521
mov eax, 2
jmp 0x1000f97f
push ebp
push 0x400
lea ecx, [esp + 0x2cc]
push ebx
push ecx
call fcn.100215ad
add esp, 0x10
cmp eax, 0x400
jne 0x1000f6ea
cmp dword [esp + 0x2c4], 0x25b
jne 0x1000f785
cmp dword [esp + 0x2c8], ebx
jne 0x1000f6ff
mov edx, dword [esp + 0x2fe]
mov eax, dword [esp + 0x326dc]
cmp edx, eax
jne 0x1000f714
mov eax, dword [esp + 0x306]
or edi, 0xffffffff
test eax, eax
je 0x1000f5fb
mov eax, dword [esp + 0x326e4]
push 0x20
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.1000dc30
add esp, 0xc
lea edx, [esp + 0x30a]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x326d0], 0
call fcn.1003bd8c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.10020ce8
add esp, 8
test eax, eax
jne 0x1000f729
lea ecx, [esp + 0x14]
mov byte [esp + 0x326cc], al
call fcn.1003bd1e
lea ecx, [esp + 0x10]
mov dword [esp + 0x326cc], edi
call fcn.1003bd1e
cmp dword [esp + 0x2c8], ebx
jne 0x1000f66c
lea edx, [esp + 0x2c4]
push 0x87
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000dc30
add esp, 0xc
lea ecx, [esp + 0x34b]
mov ebx, 2
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x326d0], ebx
call fcn.1003bd8c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.10020ce8
add esp, 8
test eax, eax
jne 0x1000f750
lea ecx, [esp + 0x10]
mov byte [esp + 0x326cc], bl
call fcn.1003bd1e
lea ecx, [esp + 0x14]
mov dword [esp + 0x326cc], edi
call fcn.1003bd1e
mov ecx, 8
lea esi, [esp + 0x32b]
lea edi, [esp + 0x48]
push 0x20
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.1000ef20
mov eax, dword [esp + 0x306]
test eax, eax
jne 0x1000f7f1
mov edx, dword [str.TiprayGDisk]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [0x10051c38]
mov cx, word [0x10051c3c]
mov ebx, 0xb
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], edx
mov dl, byte [0x10051c3e]
mov word [esp + 0x30], cx
push ebx
push eax
lea ecx, [esp + 0x50]
push 0x20
mov byte [esp + 0x3e], dl
push ecx
jmp 0x1000f821
push ebp
mov esi, 3
call fcn.1002069a
add esp, 4
mov eax, esi
jmp 0x1000f97f
push ebp
mov esi, 4
call fcn.1002069a
add esp, 4
mov eax, esi
jmp 0x1000f97f
push ebp
mov esi, 5
call fcn.1002069a
add esp, 4
mov eax, esi
jmp 0x1000f97f
lea ecx, [esp + 0x14]
mov esi, 0x13
mov byte [esp + 0x326cc], 0
call fcn.1003bd1e
mov dword [esp + 0x326cc], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x1000f770
lea ecx, [esp + 0x10]
mov esi, 6
mov byte [esp + 0x326cc], bl
call fcn.1003bd1e
mov dword [esp + 0x326cc], edi
lea ecx, [esp + 0x14]
call fcn.1003bd1e
push ebp
call fcn.1002069a
add esp, 4
mov eax, esi
jmp 0x1000f97f
push ebp
call fcn.1002069a
add esp, 4
push ebx
push edi
call fcn.10009aa0
add esp, 8
test eax, eax
je 0x1000f7b1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000f7b1
mov eax, 7
jmp 0x1000f97f
mov eax, dword [esp + 0x326e8]
test eax, eax
je 0x1000f7d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1000f97b
mov eax, 8
jmp 0x1000f97f
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1000f97b
mov eax, 9
jmp 0x1000f97f
mov esi, dword [esp + 0x326e4]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x68]
mov ebx, 0x20
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
push ebx
mov ecx, 8
lea edi, [esp + 0x6c]
push edx
lea eax, [esp + 0x50]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1000ec90
add esp, 0x10
lea ecx, [esp + 0xbc]
push 1
push ecx
call fcn.10009aa0
add esp, 8
test eax, eax
je 0x1000f855
lea edx, [esp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1000f8e4
push ebp
push 0x32000
lea eax, [esp + 0x6cc]
push 1
push eax
call fcn.100215ad
lea ecx, [esp + 0xcc]
push 0x10051c40
push ecx
mov esi, eax
call fcn.10021931
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1000f8ee
test esi, esi
jle 0x1000f8d9
lea edx, [esp + 0x48]
push ebx
push edx
lea eax, [esp + 0x6cc]
push esi
push eax
call fcn.1000ec90
push edi
push esi
lea ecx, [esp + 0x6dc]
push 1
push ecx
call fcn.100209ef
add esp, 0x20
cmp eax, esi
jne 0x1000f8d9
cmp esi, 0x32000
jne 0x1000f8d9
push ebp
push esi
lea edx, [esp + 0x6cc]
push 1
push edx
call fcn.100215ad
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x1000f88b
push edi
call fcn.1002069a
add esp, 4
jmp 0x1000f8f6
mov dword [esp + 0x18], 9
jmp 0x1000f8f6
mov dword [esp + 0x18], 0x10
push ebp
call fcn.1002069a
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x1000f97b
mov esi, dword [esp + 0x326d8]
push 1
push esi
call fcn.10009aa0
add esp, 8
test eax, eax
je 0x1000f940
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1000f940
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], 0x12
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000f97b
lea eax, [esp + 0xbc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1000f96b
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], 0x11
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000f97b
lea edx, [esp + 0x20]
push 1
push edx
push esi
call fcn.10009c70
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x326c4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x326c0
ret 0x18