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

Disassembly:
push 0xffffffffffffffff
push 0x472dcb
mov eax, dword fs:[0]
push eax
mov eax, 0x3008
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x3004], eax
push ebx
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x3018]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x41bc5f
or eax, 0xffffffff
jmp 0x41beb1
call fcn.00425cf0
mov ecx, eax
call fcn.00425d70
test eax, eax
je 0x41beaf
mov eax, dword [0x493014]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x3024], 0
call fcn.0043f650
push 0x800
lea edx, [esp + 0x818]
push 0
push edx
call fcn.0045bc00
add esp, 0xc
push 0x400
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x814]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x800
lea edx, [esp + 0x2018]
push 0
push edx
call fcn.0045bc00
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360EntClient.ini
lea eax, [esp + 0x818]
push eax
lea ecx, [esp + 0x201c]
push ecx
call esi
push 0x800
lea edx, [esp + 0x2818]
push 0
push edx
call fcn.0045bc00
add esp, 0xc
push str.entpub.dat
lea eax, [esp + 0x818]
push eax
lea ecx, [esp + 0x281c]
push ecx
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x2014]
push edx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41bdef
lea eax, [esp + 0x2814]
push eax
call ebx
test eax, eax
je 0x41bdef
push 0x800
lea ecx, [esp + 0x1818]
push 0
push ecx
call fcn.0045bc00
mov edx, dword [esp + 0x1c]
add esp, 0xc
push str.360EntClient.ini
push edx
lea eax, [esp + 0x181c]
push eax
call esi
lea ecx, [esp + 0x1814]
push ecx
call edi
push 0x800
lea edx, [esp + 0x18]
push 0
push edx
call fcn.0045bc00
mov eax, dword [esp + 0x1c]
add esp, 0xc
push str.entpub.dat
push eax
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x14]
push edx
call edi
push 0
lea eax, [esp + 0x1818]
push eax
lea ecx, [esp + 0x201c]
push ecx
call fcn.0042dcb0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2828]
push eax
call fcn.0042dcb0
add esp, 0x18
push 0x800
lea ecx, [esp + 0x1018]
push 0
push ecx
call fcn.0045bc00
add esp, 0xc
push str.360EntClient.exe
lea edx, [esp + 0x818]
push edx
lea eax, [esp + 0x101c]
push eax
call esi
lea ecx, [esp + 0x1014]
push ecx
call ebx
test eax, eax
je 0x41be82
lea edx, [esp + 0x1014]
push edx
call fcn.00401f60
add esp, 4
test eax, eax
je 0x41be82
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push str.360EntClient.exe
push ecx
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0x14]
push eax
call edi
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x101c]
push edx
call fcn.0042dcb0
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x41beaf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41beaf
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3018]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.0045bbec
add esp, 0x3014
ret