Function at 0x100114e0
Capabilities:
Check if file exists
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d44bf
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x10269114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x191], 0
mov ecx, dword [ebp + 0x10]
call fcn.10010010
movzx eax, al
test eax, eax
je 0x10011526
jmp 0x10011c69
lea ecx, [ebp - 0x40]
call fcn.100086f0
mov dword [ebp - 4], 0
push 0x101da580
lea ecx, [ebp - 0x118]
call fcn.10008420
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
call fcn.1000f580
push eax
lea ecx, [ebp - 0x100]
call fcn.10008420
mov byte [ebp - 4], 2
push 3
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.1002ed60
add esp, 0x10
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.1000a990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.1000a990
cmp dword [ebp - 0x1ac], 0
jle 0x10011c52
lea ecx, [ebp - 0x19c]
call fcn.1002fbf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100115f3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
lea ecx, [ebp - 0x178]
push ecx
call fcn.10031580
add esp, 4
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.1002b090
add esp, 8
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d0], eax
push 0x101dab78
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x148]
push edx
call fcn.100023b0
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d4], ecx
push 0x101dab6c
mov edx, dword [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.100021a0
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.10002280
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.1000a9f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x148]
call fcn.1000a9f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
call fcn.1000a9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x178]
call fcn.1000a990
push 0
lea ecx, [ebp - 0x28]
call fcn.1000f5a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x28]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011764
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.10030380
movzx ecx, al
test ecx, ecx
jne 0x100117ad
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
push 0x101dab7c
lea ecx, [ebp - 0x88]
call fcn.100088b0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x88]
push edx
push 0x101dab78
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.100023b0
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.10002210
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x190]
call fcn.1000a9f0
push 1
push 0x40
push 0x20
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x2a4]
call fcn.10007f60
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x2a4]
call fcn.1000b990
movzx edx, al
test edx, edx
je 0x1001189e
lea ecx, [ebp - 0x40]
call fcn.100122c0
xor ecx, ecx
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], ecx
lea ecx, [ebp - 0x40]
call fcn.1000f580
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.10014850
lea ecx, [ebp - 0x2a4]
call fcn.1000f940
jmp 0x100118f7
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.1000c300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.1000a9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.1000a9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
push str.game_front1.png
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.100023b0
add esp, 0xc
mov byte [ebp - 4], 0x12
push str.game_front.png
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.100023b0
add esp, 0xc
mov byte [ebp - 4], 0x13
push str.install_text1.png
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.100023b0
add esp, 0xc
mov byte [ebp - 4], 0x14
push str.install_text.png
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.100023b0
add esp, 0xc
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001198e
lea ecx, [ebp - 0x58]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011a20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd0]
call fcn.1000a9f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.1000a9f0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.1000c300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.1000a9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.1000a9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
lea ecx, [ebp - 0xe8]
call fcn.1000f5a0
mov dword [ebp - 0x1ec], eax
lea ecx, [ebp - 0x58]
call fcn.1000f5a0
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1ec]
push ecx
mov edx, dword [ebp - 0x1f0]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0xb8]
call fcn.1000f5a0
mov dword [ebp - 0x1f4], eax
lea ecx, [ebp - 0xd0]
call fcn.1000f5a0
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1f4]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str..tmp
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.100023b0
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x19c]
call fcn.10030920
movzx eax, al
test eax, eax
jne 0x10011b67
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa0]
call fcn.1000a9f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd0]
call fcn.1000a9f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.1000a9f0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.1000c300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.1000a9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.1000a9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
jmp 0x10011c69
mov ecx, dword [ebp + 0xc]
call fcn.1000f5a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
call fcn.1000f5a0
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0xa0]
call fcn.1000f5a0
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a4]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.10031b20
add esp, 8
mov byte [ebp - 0x191], 1
mov byte [0x1026e84c], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa0]
call fcn.1000a9f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd0]
call fcn.1000a9f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
call fcn.1000a9f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.1000a9f0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.1000c300
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.1000a9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.1000a9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.1000af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000a990
xor ecx, ecx
jne 0x10011512
movzx edx, byte [ebp - 0x191]
test edx, edx
jne 0x10011c92
push 0x101dac2c
mov ecx, 0x1026e8e0
call fcn.1000b660
push 0x101dac2c
mov ecx, 0x1026e8c8
call fcn.1000b660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100499a5
mov esp, ebp
pop ebp
ret