Function at 0x1000ffc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
movzx eax, byte [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x34]
call fcn.1003e780
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x64
call fcn.10005520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10009c10
lea ecx, [ebp - 0x40]
call fcn.1003e8e0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x4c
call fcn.10005520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10009c10
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
je 0x10010154
push 4
lea ecx, [ebp - 0x18]
call fcn.10005000
lea ecx, [ebp - 0x18]
call fcn.10007cc0
mov dword [ebp - 4], 2
push 0x101e00c4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x64]
push eax
push 0x101e00e8
lea ecx, [ebp - 0x18]
push ecx
call fcn.10012d40
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.100055d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010145
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005000
lea ecx, [ebp - 0x1c]
call fcn.10007cc0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
push edx
push str.__s___i
lea eax, [ebp - 0x1c]
push eax
call fcn.10012d40
add esp, 0xc
push 0
lea ecx, [ebp - 0x1c]
call fcn.100055d0
mov edx, 0x7530
mov ecx, eax
call fcn.1003dcf0
add esp, 4
mov ecx, str.GameSharedUp
call fcn.1003dde0
test eax, eax
jne 0x10010139
lea ecx, [ebp - 0x18]
call fcn.100055d0
xor dl, dl
mov ecx, eax
call fcn.1003e050
push 0
lea ecx, [ebp - 0x1c]
call fcn.100055d0
mov edx, 0x7530
mov ecx, eax
call fcn.1003dcf0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10009c10
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + 0x18]
test edx, edx
je 0x10010169
mov ecx, dword [ebp - 0x28]
call fcn.10010960
jmp 0x100101e4
push 4
lea ecx, [ebp - 0x24]
call fcn.10005000
lea ecx, [ebp - 0x24]
call fcn.10007cc0
mov dword [ebp - 4], 4
push 0x101e0120
lea ecx, [ebp - 0x4c]
call fcn.100121e0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x64]
push ecx
push str._s_s.xml
lea edx, [ebp - 0x24]
push edx
call fcn.10012d40
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.10009c10
lea ecx, [ebp - 0x24]
call fcn.100055d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10009c10
mov ecx, dword [ebp - 0x28]
call fcn.10010fd0
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x100101fc
mov ecx, dword [ebp - 0x28]
call fcn.100116c0
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x2c], 0
jne 0x1001020d
mov ecx, dword [ebp - 0x28]
call fcn.10010710
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x54], 0
je 0x10010300
push 4
lea ecx, [ebp - 0x14]
call fcn.10005000
lea ecx, [ebp - 0x14]
call fcn.10007cc0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x28]
add eax, 0x64
push eax
lea ecx, [ebp - 0x14]
call fcn.10005520
lea ecx, [ebp - 0x14]
call fcn.1000a8b0
sub eax, 1
push eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10012060
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x54]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.10009c10
lea ecx, [ebp - 0x64]
call fcn.1003e600
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10005520
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.10009c10
lea ecx, [ebp - 0x14]
call fcn.1000a8b0
sub eax, 1
push eax
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x14]
call fcn.10012060
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6c]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10009c10
jmp 0x10010377
push 4
lea ecx, [ebp - 0x20]
call fcn.10005000
lea ecx, [ebp - 0x20]
call fcn.10007cc0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x28]
add ecx, 0x64
push ecx
lea ecx, [ebp - 0x20]
call fcn.10005520
lea ecx, [ebp - 0x20]
call fcn.1000a8b0
sub eax, 1
push eax
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x20]
call fcn.10012060
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x78]
call fcn.100055d0
mov ecx, eax
call fcn.1003ebd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10009c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret 4