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

Disassembly:
push 0xffffffffffffffff
push 0x45f8b0
mov eax, dword fs:[0]
push eax
mov eax, 0x1404
call fcn.004479f0
mov eax, dword [0x47b660]
xor eax, esp
mov dword [esp + 0x1400], eax
push esi
push edi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x1410]
mov dword fs:[0], eax
mov dword [esp + 0x1418], 5
mov edx, dword [esp + 0x1420]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x418be7
push esi
lea ecx, [esp + 0x1424]
call fcn.00402a70
mov edx, dword [esp + 0x1420]
lea eax, [esi + 1]
push eax
push edx
call fcn.0044321c
add esp, 8
test esi, esi
jl 0x418e97
mov eax, dword [esp + 0x1420]
cmp esi, dword [eax - 8]
jg 0x418e97
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x1420]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [esp + 0x1420]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x418c4e
push str.1NPDPRO5
push ecx
call fcn.004437e1
add esp, 8
test eax, eax
je 0x418c4e
sub eax, dword [esp + 0x1420]
sar eax, 1
cmp eax, 0xffffffff
jne 0x418d6a
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00446a60
add esp, 0xc
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x416]
push edx
mov word [esp + 0x418], cx
call fcn.00446a60
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xc16]
push ecx
mov word [esp + 0xc18], ax
call fcn.00446a60
mov edx, dword [esp + 0x142c]
add esp, 0xc
push edx
push 0x46771c
lea eax, [esp + 0xc14]
push 0x400
push eax
call fcn.00442ff8
mov ecx, dword [esp + 0x1444]
push ecx
push 0x468774
lea edx, [esp + 0x24]
push 0x400
push edx
call fcn.0044354d
add esp, 0x20
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov ecx, dword [esp + 0x1434]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418d10
mov edx, dword [esp + 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x1434]
push eax
lea ecx, [esp + 0x410]
push str._s.zip
push ecx
mov edx, 0x400
call fcn.004143c0
lea edx, [esp + 0x418]
add esp, 0xc
push edx
call fcn.00423900
add esp, 4
lea ecx, [esp + 0xc0c]
mov edi, eax
call fcn.00418eb0
test edi, edi
je 0x418d5e
cmp dword [edi], 1
sete al
test al, al
je 0x418d65
call fcn.0041fb70
jmp 0x418d6a
call fcn.00423a40
mov byte [esp + 0x1418], 4
mov eax, dword [esp + 0x1420]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1418], 3
mov eax, dword [esp + 0x1424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1418], 2
mov eax, dword [esp + 0x1428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418deb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1418], 1
mov eax, dword [esp + 0x142c]
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 [esp + 0x1418], 0
mov eax, dword [esp + 0x1430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1418], 0xffffffff
mov eax, dword [esp + 0x1434]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1400]
xor ecx, esp
call fcn.00442896
add esp, 0x1410
ret 0x18
push 0x80070057
call fcn.00401000
int3