Function at 0x4045e0
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x439547
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
mov ebp, dword [esp + 0x14c]
mov ebx, dword [esp + 0x150]
mov edi, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], eax
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404668
push 0x80004005
call fcn.00401330
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 + 0x1c]
push ecx
push 2
push esi
push ebp
push edi
mov dword [esp + 0x158], 0
call fcn.00402100
push 0x43b918
push ebx
call fcn.0041e83b
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x4046bf
push ebp
call fcn.0041e1f2
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x1c]
add esp, 4
push 0x104
lea edx, [esp + 0x38]
push 0
push edx
call fcn.0041ec20
lea eax, [esp + 0x40]
push eax
call fcn.004078c0
lea eax, [esp + 0x44]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4046e2
mov ecx, dword [str._forbit.ini]
mov edx, dword [0x43b910]
mov dword [eax], ecx
mov ecx, dword [0x43b914]
mov dword [eax + 4], edx
lea edx, [esp + 0x34]
push edx
mov dword [eax + 8], ecx
call fcn.00407920
add esp, 4
test eax, eax
jne 0x40473d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402ba0
add esp, 0x10
test eax, eax
jne 0x404916
push 0x104
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041ec20
lea esi, [esp + 0x40]
add esp, 0xc
mov eax, edi
sub esi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404771
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404780
mov edx, dword [str.ldcab.ldx]
mov ecx, dword [0x43b8ac]
mov dword [eax], edx
mov dx, word [0x43b8b0]
mov dword [eax + 4], ecx
mov cl, byte [0x43b8b2]
mov word [eax + 8], dx
lea edx, [esp + 0x34]
push edx
mov byte [eax + 0xa], cl
call fcn.00407920
add esp, 4
test eax, eax
jne 0x4047e6
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402ba0
add esp, 0x10
test eax, eax
jne 0x404916
push 0x104
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041ec20
add esp, 0xc
mov eax, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404814
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404823
mov edx, dword [0x43b898]
mov ecx, dword [0x43b89c]
mov dword [eax], edx
mov edx, dword [0x43b8a0]
mov dword [eax + 4], ecx
mov cl, byte [0x43b8a4]
mov dword [eax + 8], edx
lea edx, [esp + 0x34]
push edx
mov byte [eax + 0xc], cl
call fcn.00407920
add esp, 4
test eax, eax
jne 0x404887
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402ba0
add esp, 0x10
test eax, eax
jne 0x404916
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43b814
push ebx
call fcn.0041e83b
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4048fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea edx, [esp + 0x1c]
push str.Open__s_file_error:__d
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44b3c5
call fcn.0040aa20
lea ecx, [esp + 0x14]
call fcn.00401630
mov eax, 3
jmp 0x404abb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00402600
add esp, 0xc
test al, al
jne 0x404aa3
lea eax, [esp + 0x24]
push 6
push eax
call fcn.0040b840
mov esi, eax
lea ecx, [esp + 0x30]
push 5
push ecx
mov byte [esp + 0x154], 1
call fcn.0040b840
mov edi, eax
lea edx, [esp + 0x2c]
push 4
push edx
mov byte [esp + 0x15c], 2
call fcn.0040b840
mov ebp, eax
mov ebx, 3
lea eax, [esp + 0x38]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.0040b840
mov ecx, dword [esi]
mov edx, dword [edi]
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x44]
push str._s_n_s_n_s_n_s
push eax
mov byte [esp + 0x17c], 4
call fcn.00401ce0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x38
mov byte [esp + 0x144], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x144], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x144], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x144], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push 7
push ecx
call fcn.0040b840
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
add esp, 8
push 0x30
push eax
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404a84
push eax
call fcn.0041e1f2
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00407950
mov edx, dword [esp + 0x30]
push edx
call fcn.00407b30
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x18]
push eax
call fcn.0041e1f2
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00401630
xor eax, eax
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x134
ret