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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5997ca
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x80], esi
push 0xffffffffffffffff
push eax
push ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004020f0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x7c], 0x3f
call fcn.00404200
cmp eax, 0xffffffff
je 0x402b02
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403ff0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x402ae9
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402acc
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401fa0
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404400
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402b02
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00401fa0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x2f
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404200
cmp eax, 0xffffffff
je 0x402b87
inc eax
cmp eax, dword [ebx + 0x10]
jae 0x402b87
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403ff0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x402b6e
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402b51
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401fa0
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404400
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402b87
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00401fa0
cmp dword [ebp - 0x1c], 4
jae 0x402ba4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004046b0
push str..temp
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
call fcn.00404780
add esp, 0x18
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x402be4
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00401fa0
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0x4c], 0
call fcn.004034d0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push 0x80
push 1
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x7c], ebx
cmp ebx, 0xffffffff
je 0x402e0b
lea edi, [esi + 0x38]
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x402c51
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.004020f0
push dword [ebp - 0x84]
mov byte [ebp - 4], 6
push ecx
push ebx
mov ecx, esi
call fcn.00402e90
push ebx
mov byte [ebp - 0x75], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 0x75]
mov dword [ebp - 0x7c], 0xffffffff
test bl, bl
jne 0x402c90
cmp dword [edi + 0x14], 8
jb 0x402c84
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x402d8d
mov eax, dword [esi + 0x48]
mov ecx, edi
add eax, 0xfffffffb
push eax
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00403ff0
mov ebx, eax
add esi, 8
cmp esi, ebx
je 0x402ce7
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x402cc0
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00401fa0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402cd8
mov eax, dword [esi]
jmp 0x402cda
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00404400
lea ecx, [ebp - 0x74]
call fcn.00401d00
cmp dword [esi + 0x14], 8
jb 0x402cf9
mov eax, dword [esi]
jmp 0x402cfb
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x402d05
mov ecx, dword [edi]
jmp 0x402d07
mov ecx, edi
push eax
push ecx
call fcn.00470c9c
add esp, 8
test eax, eax
je 0x402d8a
cmp dword [esi + 0x14], 8
jb 0x402d1f
mov eax, dword [esi]
jmp 0x402d21
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x402d32
mov ecx, dword [esi]
jmp 0x402d34
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x402d3e
mov eax, dword [edi]
jmp 0x402d40
mov eax, edi
push ecx
push eax
call fcn.00470c9c
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x402d54
mov ecx, dword [esi]
jmp 0x402d56
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x402d60
mov eax, dword [edi]
jmp 0x402d62
mov eax, edi
push ecx
push eax
call fcn.00470c9c
add esp, 8
test eax, eax
je 0x402d8a
cmp dword [esi + 0x14], 8
jb 0x402d78
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x402d80
mov edi, dword [edi]
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, byte [ebp - 0x75]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402da2
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00401fa0
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp ecx, 8
jb 0x402dcb
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00401fa0
mov al, bl
jmp 0x402e69
cmp dword [esi], 0
je 0x402e29
push dword [esi + 0x68]
sub esp, 0x18
mov ecx, esp
push 0x608fe4
call fcn.00401d40
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402e3e
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00401fa0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x402e67
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401fa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448575
mov esp, ebp
pop ebp
ret 0xc