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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481f8a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4a20a0]
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.0040b930
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.00413f70
cmp eax, 0xffffffff
je 0x4129d2
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413eb0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x4129b9
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41299c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c980
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.0040ba50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4129d2
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c980
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x2f
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413f70
cmp eax, 0xffffffff
je 0x412a57
inc eax
cmp eax, dword [ebx + 0x10]
jae 0x412a57
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00413eb0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x412a3e
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x412a21
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c980
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.0040ba50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x412a57
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c980
cmp dword [ebp - 0x1c], 4
jae 0x412a74
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 edx, [esi + 0x20]
lea ecx, [ebp - 0x5c]
call fcn.00414120
push str..temp
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
call fcn.004141d0
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x412ab2
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c980
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.00413370
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 0x412cd9
lea edi, [esi + 0x38]
lea eax, [ebp - 0x44]
cmp edi, eax
je 0x412b1f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0040b930
push dword [ebp - 0x84]
mov byte [ebp - 4], 6
push ecx
push ebx
mov ecx, esi
call fcn.00412d60
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 0x412b5e
cmp dword [edi + 0x14], 8
jb 0x412b52
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x412c5b
mov eax, dword [esi + 0x48]
mov ecx, edi
add eax, 0xfffffffb
push eax
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00413eb0
mov ebx, eax
add esi, 8
cmp esi, ebx
je 0x412bb5
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x412b8e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0040c980
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x412ba6
mov eax, dword [esi]
jmp 0x412ba8
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.0040ba50
lea ecx, [ebp - 0x74]
call fcn.00409d40
cmp dword [esi + 0x14], 8
jb 0x412bc7
mov eax, dword [esi]
jmp 0x412bc9
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x412bd3
mov ecx, dword [edi]
jmp 0x412bd5
mov ecx, edi
push eax
push ecx
call fcn.004459cb
add esp, 8
test eax, eax
je 0x412c58
cmp dword [esi + 0x14], 8
jb 0x412bed
mov eax, dword [esi]
jmp 0x412bef
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x412c00
mov ecx, dword [esi]
jmp 0x412c02
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x412c0c
mov eax, dword [edi]
jmp 0x412c0e
mov eax, edi
push ecx
push eax
call fcn.004459cb
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x412c22
mov ecx, dword [esi]
jmp 0x412c24
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x412c2e
mov eax, dword [edi]
jmp 0x412c30
mov eax, edi
push ecx
push eax
call fcn.004459cb
add esp, 8
test eax, eax
je 0x412c58
cmp dword [esi + 0x14], 8
jb 0x412c46
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x412c4e
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 0x412c70
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040c980
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 0x412c99
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040c980
mov al, bl
jmp 0x412d37
cmp dword [esi], 0
je 0x412cf7
push dword [esi + 0x68]
sub esp, 0x18
mov ecx, esp
push 0x49aec0
call fcn.00409e80
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x412d0c
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040c980
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 0x412d35
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c980
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.00417499
mov esp, ebp
pop ebp
ret 0xc