Function at 0x4049b0
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43afc7
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
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.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404a38
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 + 0x1c]
push ecx
push 2
push esi
push ebp
push edi
mov dword [esp + 0x158], 0
call fcn.00402360
push 0x43d948
push ebx
call fcn.0042065d
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x404a8f
push ebp
call fcn.00420014
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.00420a40
lea eax, [esp + 0x40]
push eax
call fcn.00408940
lea eax, [esp + 0x44]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404ab2
mov ecx, dword [str._forbit.ini]
mov edx, dword [0x43d940]
mov dword [eax], ecx
mov ecx, dword [0x43d944]
mov dword [eax + 4], edx
lea edx, [esp + 0x34]
push edx
mov dword [eax + 8], ecx
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x404b0d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404ce6
push 0x104
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00420a40
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 0x404b41
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404b50
mov edx, dword [str.ldcab.ldx]
mov ecx, dword [0x43d8dc]
mov dword [eax], edx
mov dx, word [0x43d8e0]
mov dword [eax + 4], ecx
mov cl, byte [0x43d8e2]
mov word [eax + 8], dx
lea edx, [esp + 0x34]
push edx
mov byte [eax + 0xa], cl
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x404bb6
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404ce6
push 0x104
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00420a40
add esp, 0xc
mov eax, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404be4
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404bf3
mov edx, dword [0x43d8c8]
mov ecx, dword [0x43d8cc]
mov dword [eax], edx
mov edx, dword [0x43d8d0]
mov dword [eax + 4], ecx
mov cl, byte [0x43d8d4]
mov dword [eax + 8], edx
lea edx, [esp + 0x34]
push edx
mov byte [eax + 0xc], cl
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x404c57
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push ebp
push 0
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x404ce6
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43d824
push ebx
call fcn.0042065d
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x404ccb
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.00401f40
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44d3c9
call fcn.0040bc50
lea ecx, [esp + 0x14]
call fcn.00401660
mov eax, 3
jmp 0x404e8b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00402860
add esp, 0xc
test al, al
jne 0x404e73
lea eax, [esp + 0x24]
push 6
push eax
call fcn.0040ca70
mov esi, eax
lea ecx, [esp + 0x30]
push 5
push ecx
mov byte [esp + 0x154], 1
call fcn.0040ca70
mov edi, eax
lea edx, [esp + 0x2c]
push 4
push edx
mov byte [esp + 0x15c], 2
call fcn.0040ca70
mov ebp, eax
mov ebx, 3
lea eax, [esp + 0x38]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.0040ca70
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.00401f40
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 0x404d85
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 0x404dad
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 0x404dd5
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 0x404dfd
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.0040ca70
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 0x404e43
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 0x404e54
push eax
call fcn.00420014
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004089d0
mov edx, dword [esp + 0x30]
push edx
call fcn.00408bb0
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x18]
push eax
call fcn.00420014
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00401660
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.0041eff4
add esp, 0x134
ret