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

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.00471870
push 0xffffffffffffffff
push 0x4a9fbb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x3000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
xor ebx, ebx
cmp ecx, ebx
jne 0x431a95
or eax, 0xffffffff
jmp 0x431c97
call fcn.0045bac6
mov ecx, eax
call fcn.0043c9bb
test eax, eax
je 0x431c95
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.0045da4b
mov esi, 0x800
push esi
lea eax, [ebp + 0x2000]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push 0x400
lea eax, [ebp + 0x2000]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp]
push ebx
push eax
call fcn.004701a0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360EntClient.ini
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp]
push eax
call edi
push esi
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.entpub.dat
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp + 0x800]
push eax
call edi
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431bf8
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431bf8
push esi
lea eax, [ebp + 0x1000]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.360EntClient.ini
push dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call edi
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [ebp + 0x2800]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.entpub.dat
push dword [ebp - 0x10]
lea eax, [ebp + 0x2800]
push eax
call edi
lea eax, [ebp + 0x2800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp]
push eax
call fcn.00445b90
push ebx
push ebx
push ebx
lea eax, [ebp + 0x2800]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.00445b90
add esp, 0x28
push esi
lea eax, [ebp + 0x1800]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.360EntClient.exe
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp + 0x1800]
push eax
call edi
lea eax, [ebp + 0x1800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431c8a
lea eax, [ebp + 0x1800]
push ebx
push eax
call fcn.00402346
pop ecx
pop ecx
test eax, eax
je 0x431c8a
push esi
lea eax, [ebp + 0x2800]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push str.360EntClient.exe
push dword [ebp - 0x10]
lea eax, [ebp + 0x2800]
push eax
call edi
lea eax, [ebp + 0x2800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
lea eax, [ebp + 0x2800]
push eax
lea eax, [ebp + 0x1800]
push eax
call fcn.00445b90
add esp, 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3000]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x3004
leave
ret