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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488e29
mov eax, dword fs:[0]
push eax
sub esp, 0x514
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x528]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44020f
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebp + 0x8c]
mov dword [esp + 0x534], 0
call fcn.0044a4dd
mov eax, dword [0x4b9124]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x440254
push 0x80004005
call fcn.00401db0
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.00469714
add esp, 8
test eax, eax
je 0x4402f2
mov eax, dword [0x4b9128]
cmp dword [eax - 0xc], 0
jle 0x440287
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00469714
add esp, 8
test eax, eax
je 0x44029a
push 0
push 0
push 0x49e2b0
call fcn.0044f968
jmp 0x44071b
xor edi, edi
mov ecx, 0x4b9128
call fcn.00415040
push 0x494704
lea ecx, [esp + 0x1c]
call fcn.00406500
mov edi, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x530], 1
call fcn.00415040
mov byte [esp + 0x530], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4402f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x494704
lea ecx, [esp + 0x1c]
call fcn.00406500
mov edi, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x530], 2
call fcn.00415040
mov byte [esp + 0x530], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44033e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x440358
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov ebx, 3
mov byte [esp + 0x530], bl
cmp dword [ebp + 0x88], 1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jne 0x44055d
push str.tmima.dat
lea ecx, [esp + 0x24]
push 0x4b9130
push ecx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 4
call fcn.00406820
mov byte [esp + 0x530], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4403d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44043a
push str.mima.dat
lea ecx, [esp + 0x24]
push 0x4b9130
push ecx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 5
call fcn.00406820
mov byte [esp + 0x530], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call edi
test eax, eax
je 0x44055d
push str.resetrunmi.dat
lea ecx, [esp + 0x24]
push 0x4b9130
push ecx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 6
call fcn.00406820
mov byte [esp + 0x530], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440495
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call edi
push str.tresetrunmi.dat
lea edx, [esp + 0x24]
push 0x4b9130
push edx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 7
call fcn.00406820
mov byte [esp + 0x530], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4404ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call edi
push 0x494704
mov ecx, 0x4b9128
call fcn.00406a00
push 0x494704
mov ecx, 0x4b9124
mov dword [ebp + 0x84], 1
call fcn.00406a00
push 0
push 0
push 0x49e2f0
call fcn.0044f968
mov ecx, ebp
call fcn.004515d7
lea eax, [esi - 0x10]
mov byte [esp + 0x530], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44071b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x44071b
cmp dword [ebp + 0x88], 2
jne 0x440599
call fcn.004152b0
test eax, eax
je 0x440599
push 0
mov eax, 1
push 0
push 0x49b920
mov dword [ebp + 0x84], eax
mov dword [0x4b8f58], eax
call fcn.0044f968
mov ecx, ebp
call fcn.004515d7
jmp 0x4406f7
cmp dword [ebp + 0x88], ebx
jne 0x44062e
push str.forgetset.dat
lea ecx, [esp + 0x24]
push 0x4b9130
push ecx
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x534], 8
call fcn.00406820
mov byte [esp + 0x530], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4405f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call edi
test eax, eax
je 0x44062e
push 0
push 0
push 0x49b900
mov dword [ebp + 0x84], 1
mov dword [0x4b8f58], 0
call fcn.0044f968
mov ecx, ebp
call fcn.004515d7
jmp 0x4406f7
mov eax, dword [ebp + 0x88]
cmp eax, 4
jne 0x440683
mov ecx, dword [0x4b912c]
mov eax, dword [ecx - 0xc]
xor edx, edx
test eax, eax
setg dl
mov ecx, ebp
mov edi, edx
call fcn.004515d7
push edi
lea eax, [esp + 0x28]
push eax
call fcn.00411d10
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 9
call fcn.00451b98
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], bl
call fcn.00411de0
jmp 0x440530
cmp eax, 5
jne 0x4406e9
mov ecx, ebp
call fcn.004515d7
lea ecx, [esp + 0x27c]
push ecx
call fcn.00444580
lea ecx, [esp + 0x27c]
mov byte [esp + 0x530], 0xa
call fcn.00451b98
lea ecx, [esp + 0x27c]
mov byte [esp + 0x530], bl
call fcn.00444670
add esi, 0xfffffff0
mov byte [esp + 0x530], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44071b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x44071b
push 0
push 0
push 0x49e314
call fcn.0044f968
add esi, 0xfffffff0
mov byte [esp + 0x530], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44071b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x530], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x528]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret