Function at 0x1003a300
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042945
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1004e038]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, 0x10058869
call fcn.10016c3f
lea ecx, [ebp - 0x14]
call fcn.10016320
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_valve.rc
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a3a0
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinesejoystick.CFG
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a3e9
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schineseuserconfig.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea eax, [ebp - 0x14]
push eax
call fcn.100160f5
call fcn.10016c44
add esp, 4
mov byte [ebp - 0xfd], al
movzx ecx, byte [ebp - 0xfd]
test ecx, ecx
je 0x1003a441
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_autoexec.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a48a
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinesedefault.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a4d3
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schineselanguage.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a51c
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_violence.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a565
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_server.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xec], esp
lea eax, [ebp - 0x14]
push eax
call fcn.100160f5
call fcn.10016c44
add esp, 4
mov byte [ebp - 0xfd], al
movzx ecx, byte [ebp - 0xfd]
test ecx, ecx
je 0x1003a5bd
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schineselistenserver.cfg
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xf8], esp
lea eax, [ebp - 0x14]
push eax
call fcn.100160f5
call fcn.10016c44
add esp, 4
mov byte [ebp - 0xfd], al
movzx ecx, byte [ebp - 0xfd]
test ecx, ecx
je 0x1003a615
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_resourceLoadingDialog.res
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a65e
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_resourceLoadingDialogNoBanner.res
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a6a7
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_resourceLoadingDialogNoBannerSingle.res
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a6f0
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_resourceLoadingDialogVAC.res
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a739
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinese_resourceGameMenu.res
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.100168f2
test eax, eax
je 0x1003a782
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._scstrike_schinesehw
lea ecx, [ebp - 0x14]
push ecx
call fcn.10016956
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001646a
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.100168f2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100161c7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100161c7
push edx
mov ecx, ebp
push eax
lea edx, [0x1003a7fc]
call fcn.1001677b
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x100
cmp ebp, esp
call fcn.100168f2
mov esp, ebp
pop ebp
ret