Function at 0x4024e0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42521b
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push eax
push ecx
push edx
push ebp
call fcn.00402820
mov ebx, dword [esp + 0x134]
push 0x42f16c
push ebx
call fcn.0040b7a0
add esp, 0x18
test eax, eax
je 0x40253b
push eax
call fcn.0040b6f2
add esp, 4
mov eax, dword [0x42f8cc]
push esi
push edi
mov dword [esp + 0x10], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x120], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00404ec0
mov edi, str._forbit.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404f20
add esp, 8
test eax, eax
jne 0x4025cf
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push str.LdxFile__s__Not_Exists
push edx
call fcn.0041c74a
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x433191
push 0
push eax
call fcn.00407170
push 0
lea ecx, [esp + 0x18]
push 1
push ecx
push ebx
call fcn.00403030
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ldcab.ldx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404f20
add esp, 0x14
test eax, eax
jne 0x402673
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push str.LdxFile__s__Not_Exists
push edx
call fcn.0041c74a
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x433191
push 0
push eax
call fcn.00407170
push 0
lea ecx, [esp + 0x18]
push 1
push ecx
push ebx
call fcn.00403030
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42f128
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404f20
add esp, 0x14
test eax, eax
jne 0x402717
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push str.LdxFile__s__Not_Exists
push edx
call fcn.0041c74a
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x433191
push 0
push eax
call fcn.00407170
push 0
lea ecx, [esp + 0x18]
push 1
push ecx
push ebx
call fcn.00403030
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ldcab.lddat
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404f20
add esp, 4
test eax, eax
pop edi
pop esi
jne 0x4027cb
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push str.LdxFile__s__Not_Exists
push edx
call fcn.0041c74a
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, 0x433191
push 0
push eax
call fcn.00407170
push 0
lea ecx, [esp + 0x10]
push 1
push ecx
push ebx
call fcn.00403030
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.0041d10e
mov ecx, dword [esp + 0x110]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret