Function at 0x4319c0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
cmp dword [ebp + 8], 0
je 0x431a0c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x431a0c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431a0c
cmp dword [ebp + 0xc], 0
je 0x431a0c
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x431a13
xor eax, eax
jmp 0x431c82
cmp dword [ebp + 0xc], 0
je 0x431c6e
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
je 0x431c6e
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431c6e
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.0040b170
mov dword [ebp - 4], 0
lea eax, [ebp - 0x94]
push eax
call fcn.00432740
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00401440
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x431a84
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x64
jge 0x431bfa
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x431aac
mov dword [ebp - 0x24], 1
jmp 0x431ab3
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x431acf
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 1
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x431b4c
cmp dword [ebp + 0x10], 0
je 0x431b4c
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x431b13
mov dword [ebp - 0x2c], 1
jmp 0x431b1a
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x431b36
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
je 0x431b6a
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
je 0x431b6a
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431b6f
jmp 0x431bfa
lea edx, [ebp - 0x94]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x431b90
mov dword [ebp - 0x34], 1
jmp 0x431b97
mov dword [ebp - 0x34], 0
mov dl, byte [ebp - 0x34]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x431bb3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
push str._s._d
lea edx, [ebp - 0xac]
push edx
call fcn.00423af0
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004029c0
lea ecx, [ebp - 0xac]
call fcn.0041d970
jmp 0x431a7b
cmp dword [ebp + 0xc], 0
je 0x431c18
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
test edx, edx
je 0x431c18
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431c4e
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041d970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041d970
mov eax, dword [ebp - 0x64]
jmp 0x431c82
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041d970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0041d970
jmp 0x431c80
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x431c82
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc