Function at 0x1003b390
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100429e5
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._s_valve_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 0x1003b43f
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._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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 0x1003b578
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._s_valve_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 0x1003b5d0
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._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.100168f2
mov eax, dword [ebp + 8]
push eax
push str._s_valve_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, [0x1003b72c]
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