Function at 0x4048e0
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43b84b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24c]
mov edi, dword [esp + 0x23c]
mov ebx, dword [esp + 0x240]
mov ebp, dword [esp + 0x244]
mov esi, dword [esp + 0x248]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
call fcn.004125a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404960
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, 0x44e3c9
mov dword [esp + 0x23c], 0
call fcn.0040bf40
mov edx, dword [esp + 0x18]
push edx
push 2
push esi
push edi
push ebp
call fcn.00402360
push 0x43e954
push ebx
call fcn.00420f7d
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x4049b9
push edi
call fcn.00420934
add esp, 4
xor edi, edi
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00421360
lea ecx, [esp + 0x2c]
push ecx
call fcn.00408630
lea eax, [esp + 0x30]
add esp, 0x10
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4049e0
mov edx, dword [str._forbit.ini]
mov ecx, dword [0x43e94c]
mov dword [eax], edx
mov edx, dword [0x43e950]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x20]
push eax
call fcn.00408690
add esp, 4
test eax, eax
jne 0x404a3b
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push edx
call fcn.00401f40
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
push edi
push 0
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404c0a
push 0x208
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00421360
lea esi, [esp + 0x2c]
add esp, 0xc
mov eax, ebp
sub esi, ebp
nop
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404a70
lea eax, [esp + 0x20]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404a80
mov ecx, dword [str.ldcab.ldx]
mov edx, dword [0x43e8e8]
mov dword [eax], ecx
mov cx, word [0x43e8ec]
mov dword [eax + 4], edx
mov dl, byte [0x43e8ee]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x20]
push eax
call fcn.00408690
add esp, 4
test eax, eax
jne 0x404ae6
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push edx
call fcn.00401f40
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
push edi
push 0
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404c0a
push 0x208
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00421360
add esp, 0xc
mov eax, ebp
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404b14
lea eax, [esp + 0x20]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404b23
mov ecx, dword [0x43e8d4]
mov edx, dword [0x43e8d8]
mov dword [eax], ecx
mov ecx, dword [0x43e8dc]
mov dword [eax + 4], edx
mov dl, byte [0x43e8e0]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x20]
push eax
call fcn.00408690
add esp, 4
test eax, eax
jne 0x404b87
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push edx
call fcn.00401f40
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push eax
mov ecx, 0x44e3c9
call fcn.0040be50
push edi
push 0
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404c0a
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43e830
push ebx
call fcn.00420f7d
mov edi, eax
add esp, 8
test edi, edi
jne 0x404bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea eax, [esp + 0x1c]
push str.Open__s_file_error:__d
push eax
call fcn.00401f40
mov ecx, dword [esp + 0x24]
add esp, 0x10
push edi
push ecx
mov ecx, 0x44e3c9
call fcn.0040be50
lea ecx, [esp + 0x14]
call fcn.00401830
lea eax, [edi + 3]
jmp 0x404c42
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push edi
call fcn.00402860
add esp, 0xc
test al, al
jne 0x404c2e
test edi, edi
je 0x404c17
push edi
call fcn.00420934
add esp, 4
push ebp
call fcn.004086c0
push ebx
call fcn.004088a0
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call fcn.00420934
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00401830
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041f914
add esp, 0x224
ret