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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c33f4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], 0
lea eax, [ebp - 0x104]
push eax
call fcn.1004a120
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
call fcn.10048570
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10021b60
movzx edx, al
test edx, edx
je 0x1004799a
mov dword [ebp - 0x108], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x108]
jmp 0x10047dd8
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10048850
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10049c40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xec], 0
jne 0x10047a16
cmp dword [ebp - 0xf0], 0
jne 0x10047a16
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x10c]
jmp 0x10047dd8
cmp dword [ebp - 0xec], 0
jne 0x10047a76
cmp dword [ebp - 0xf0], 0
je 0x10047a76
push 1
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x40]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10047a76
mov dword [ebp - 0x110], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x110]
jmp 0x10047dd8
cmp dword [ebp - 0xec], 0
je 0x10047dad
cmp dword [ebp - 0xf0], 0
je 0x10047dad
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10011b50
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10049c40
push eax
lea edx, [ebp - 0x70]
push edx
call fcn.10011b50
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10049fc0
add esp, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10046ff0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10047b17
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.10049fc0
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.1000c290
lea ecx, [ebp - 0x28]
push ecx
call fcn.10047e30
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
lea edx, [ebp - 0x40]
push edx
call fcn.10047e30
add esp, 4
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10047ed0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.10047ed0
add esp, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10047030
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10046ff0
add esp, 8
movzx edx, al
test edx, edx
jne 0x10047be2
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x100]
jne 0x10047be2
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [ebp - 0xfc]
jne 0x10047be2
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10047030
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10047d65
call fcn.10049570
push str..ybbak
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10036140
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10047c9c
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x58]
call fcn.1000c290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000c290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.1000c290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.1000c290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x114]
jmp 0x10047dd8
lea ecx, [ebp - 0x58]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10047cc2
push 4
push 0
lea ecx, [ebp - 0x58]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x40]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10047d5d
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x58]
call fcn.1000c290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000c290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.1000c290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.1000c290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x118]
jmp 0x10047dd8
lea ecx, [ebp - 0x58]
call fcn.1000c290
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000c290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.1000c290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.1000c290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.10005f30
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret