Function at 0x418ab0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f108
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, str.hssn:__i.ni.qo.ipg_eitj_bjz_rbsxgf_rukju40kbnnlyju30605tujuTQEwTX7dN5Auydj9Z0X3MT3SBVtm54J1yUans9_tjxdExzhmP3y46xhEuslcsfpug0
mov byte [ebp - 4], 1
call fcn.0040a050
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x14]
call fcn.004040d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x418b7e
mov eax, 0x104
lea ecx, [ebp - 0x18]
call fcn.00403e20
mov ebx, dword [ebp - 0x18]
mov eax, 0x104
cmp dword [ebx - 8], eax
jge 0x418b92
push 0x80070057
call fcn.00401540
push ebx
xor ecx, ecx
mov dword [ebx - 0xc], eax
push eax
mov word [ebx + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0041b8e7
add esp, 8
cmp eax, edi
jl 0x418b88
cmp eax, dword [ebx - 8]
jg 0x418b88
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
call fcn.0041c1a1
cdq
mov ecx, 0x3b14ef
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
push edx
call fcn.0041c1a1
cdq
mov ecx, 0x181ab
idiv ecx
lea edi, [ebp - 0x10]
push edx
push str._x_x_x.tmp
call fcn.004040d0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
lea ebx, [ebp - 0x18]
call fcn.00403d60
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x418d47
cmp word [ebx], 0
je 0x418d47
test edi, edi
je 0x418d47
cmp word [edi], 0
je 0x418d47
push ebx
mov ecx, edi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x418cbe
push 0xfab
call fcn.00407610
add esp, 4
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x1c]
push edx
push 0
push edi
push ebx
push 0
call dword [0x43c2c0]
test eax, eax
jne 0x418d33
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418d33
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
push ecx
lea ebx, [edi - 0x10]
mov dword [ebp - 0x20], esp
mov eax, ebx
mov dword [ebp - 0x20], esp
call fcn.00403b90
mov ecx, esp
add eax, 0x10
push esi
mov dword [ecx], eax
call fcn.00418ed0
test eax, eax
jne 0x418dc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d24
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x418d94
push 0xfac
call fcn.00407610
add esp, 4
mov dword [ebp - 0x1c], vtable.CBindStatusCallback.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d8a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 4]
cmp dword [ecx - 0xc], 0
je 0x418e6f
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x418e6f
push esi
call fcn.004181d0
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.00418950
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e33
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d24
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x418d94