Function at 0x401c4f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
mov eax, dword [0x44c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x210]
push ebx
xor esi, esi
push esi
push eax
call fcn.0041a810
add esp, 0xc
call fcn.00404b43
push eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
call fcn.004063ea
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmovae eax, dword [ebp - 0x840]
push str.profilesconfig.json
push eax
lea eax, [ebp - 0x210]
push eax
call edi
lea ecx, [ebp - 0x840]
call fcn.004021e1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401cff
push str.clean_client_game_dir_config_file_not_exist
push 0x73
push str.CUninstallManager::CleanClientGameDir
push str.D:Code_thunder11xlgamecppsrcXLGameUninstallUninstallManager.cpp
push 4
call fcn.004016ce
add esp, 0x14
jmp 0x401f49
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x870]
call fcn.00401a46
cmp dword [ebp - 0x860], esi
jne 0x401d38
push str.clean_client_game_dir_config_empty
push 0x7a
push str.CUninstallManager::CleanClientGameDir
push str.D:Code_thunder11xlgamecppsrcXLGameUninstallUninstallManager.cpp
push 4
call fcn.004016ce
add esp, 0x14
jmp 0x401f3e
lea edx, [ebp - 0x870]
lea ecx, [ebp - 0x858]
call fcn.00401af9
cmp dword [ebp - 0x848], esi
jne 0x401d74
push str.clean_client_game_dir_defaultPath_empty
push 0x81
push str.CUninstallManager::CleanClientGameDir
push str.D:Code_thunder11xlgamecppsrcXLGameUninstallUninstallManager.cpp
push 4
call fcn.004016ce
add esp, 0x14
jmp 0x401f33
push ebx
lea eax, [ebp - 0x418]
push esi
push eax
call fcn.0041a810
add esp, 0xc
lea eax, [ebp - 0x858]
cmp dword [ebp - 0x844], 8
cmovae eax, dword [ebp - 0x858]
push str.xlgamedownload
push eax
lea eax, [ebp - 0x418]
push eax
call edi
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x878], esi
call fcn.00404b43
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00405e2c
mov eax, dword [ebp - 0x87c]
mov ecx, dword [ebp - 0x880]
sub eax, ecx
cdq
mov dword [ebp - 0x874], 0x20c
idiv dword [ebp - 0x874]
test eax, eax
je 0x401ecb
cmp ecx, dword [ebp - 0x87c]
je 0x401ec0
lea ebx, [ecx + 4]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402126
push 0x208
lea eax, [ebp - 0x620]
push esi
push eax
call fcn.0041a810
add esp, 0xc
lea eax, [ebp - 0x620]
push 0x4476e8
push ebx
push eax
call edi
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push str.clean_client_game_dir_to_kill_process__s__dir_is__s
push 0x91
push str.CUninstallManager::CleanClientGameDir
push str.D:Code_thunder11xlgamecppsrcXLGameUninstallUninstallManager.cpp
push 4
call fcn.004016ce
add esp, 0x18
lea esi, [ebp - 0x840]
cmp dword [ebp - 0x82c], 8
cmovae esi, dword [ebp - 0x840]
call fcn.00404b43
lea eax, [ebp - 0x620]
push eax
push esi
call fcn.00405cd0
lea ecx, [ebp - 0x840]
call fcn.004021e1
add ebx, dword [ebp - 0x874]
push 0
pop esi
lea eax, [ebx - 4]
cmp eax, dword [ebp - 0x87c]
jne 0x401e08
mov ebx, 0x208
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp - 0x828]
mov dword [ebp - 0x88c], esi
push esi
push eax
mov dword [ebp - 0x888], esi
mov dword [ebp - 0x884], esi
call fcn.0041a810
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x4476e8
push eax
lea eax, [ebp - 0x828]
push eax
call edi
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00404b43
mov ecx, eax
call fcn.00405af1
lea ecx, [ebp - 0x88c]
call fcn.00402021
lea ecx, [ebp - 0x880]
call fcn.00402075
lea ecx, [ebp - 0x858]
call fcn.004021e1
lea ecx, [ebp - 0x870]
call fcn.004022b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418ae7
leave
ret