Function at 0x404590
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43af57
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 ebx, dword [esp + 0x14c]
mov edi, dword [esp + 0x150]
mov ebp, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], eax
call fcn.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404618
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 ecx
push 2
push esi
push ebx
push ebp
mov dword [esp + 0x158], 0
call fcn.00402360
push 0x43d824
push edi
call fcn.0042065d
mov ebx, eax
push ebx
push edi
mov dword [esp + 0x48], ebx
call fcn.00403420
push ebx
push edi
call fcn.00403750
add esp, 0x2c
test eax, eax
jne 0x4047df
push 0x104
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00420a40
lea esi, [esp + 0x40]
add esp, 0xc
mov eax, ebp
sub esi, ebp
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404687
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404696
mov ecx, dword [str.ldcab.ldx]
mov edx, dword [0x43d8dc]
mov dword [eax], ecx
mov cx, word [0x43d8e0]
mov dword [eax + 4], edx
mov dl, byte [0x43d8e2]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x34]
push eax
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x4046fc
lea ecx, [esp + 0x34]
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, 0x44d3c9
call fcn.0040bc50
push ebx
push 0
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x4047df
push 0x104
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00420a40
add esp, 0xc
mov eax, ebp
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x404730
lea eax, [esp + 0x34]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404740
mov ecx, dword [0x43d8c8]
mov edx, dword [0x43d8cc]
mov dword [eax], ecx
mov ecx, dword [0x43d8d0]
mov dword [eax + 4], edx
mov dl, byte [0x43d8d4]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x34]
push eax
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x4047a4
lea ecx, [esp + 0x34]
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, 0x44d3c9
call fcn.0040bc50
push ebx
push 0
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00402e00
add esp, 0x10
test eax, eax
jne 0x4047df
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00402860
add esp, 0xc
test al, al
jne 0x40496c
lea edx, [esp + 0x1c]
push 6
push edx
call fcn.0040ca70
mov esi, eax
lea eax, [esp + 0x38]
push 5
push eax
mov byte [esp + 0x154], 1
call fcn.0040ca70
mov edi, eax
lea ecx, [esp + 0x28]
push 4
push ecx
mov byte [esp + 0x15c], 2
call fcn.0040ca70
mov ebp, eax
mov ebx, 3
lea edx, [esp + 0x38]
push ebx
push edx
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 0x40487e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
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 0x4048a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
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 0x4048ce
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], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40493c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40494d
push eax
call fcn.00420014
add esp, 4
mov ecx, dword [esp + 0x28]
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]
test ebx, ebx
je 0x404979
push ebx
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