Function at 0x404ec0
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43b037
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24c]
mov edi, dword [esp + 0x254]
mov ebx, dword [esp + 0x250]
mov esi, dword [esp + 0x258]
mov ebp, dword [esp + 0x25c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
call fcn.00411c35
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404f40
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
push ebx
lea ecx, [esp + 0x18]
push str.CompressUDiskFileList_start__s_
push ecx
mov dword [esp + 0x250], 0
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
mov eax, dword [esp + 0x1c]
push ebp
push 2
push esi
push eax
push edi
call fcn.00402360
push 0x43d948
push ebx
call fcn.0042065d
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x18], esi
test esi, esi
je 0x404fbb
push esi
call fcn.00420014
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
add esp, 4
push 0x208
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00420a40
lea edx, [esp + 0x3c]
add esp, 0xc
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404fd7
lea eax, [esp + 0x30]
or edi, 0xffffffff
add eax, edi
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404ff0
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 + 0x30]
push edx
mov byte [eax + 0xc], cl
call fcn.004089a0
add esp, 4
test eax, eax
jne 0x405054
lea eax, [esp + 0x30]
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 esi
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00402e00
add esp, 0x10
test eax, eax
je 0x405089
push eax
push ebx
lea ecx, [esp + 0x1c]
push str.CompressUDiskFileList_JoinFiles__s___d_
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
jmp 0x405131
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43d824
push ebx
call fcn.0042065d
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
jne 0x405100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea ecx, [esp + 0x1c]
push str.Open__s_file_error:__d
push ecx
call fcn.00401f40
add esp, 0x10
push esi
mov esi, dword [esp + 0x18]
push esi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea eax, [esi - 0x10]
mov dword [esp + 0x244], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4050f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x4052f1
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push esi
call fcn.00402860
add esp, 0xc
test al, al
jne 0x4052c2
push ebp
lea edx, [esp + 0x18]
push str.EncryptFileToLdCab_Fail__s_
push edx
call fcn.00401f40
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push eax
mov ecx, 0x44d3c9
call fcn.0040bc50
lea ecx, [esp + 0x20]
push 6
push ecx
call fcn.0040ca70
mov esi, eax
lea edx, [esp + 0x34]
push 5
push edx
mov byte [esp + 0x254], 1
call fcn.0040ca70
mov edi, eax
lea eax, [esp + 0x34]
push 4
push eax
mov byte [esp + 0x25c], 2
call fcn.0040ca70
mov ebp, eax
lea ecx, [esp + 0x34]
push 3
push ecx
mov byte [esp + 0x264], 3
call fcn.0040ca70
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [eax]
push edx
mov edx, dword [ebp]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push str._s_n_s_n_s_n_s
push ecx
mov byte [esp + 0x27c], 4
call fcn.00401f40
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x38
mov byte [esp + 0x244], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4051d8
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 + 0x244], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405200
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x244], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x244], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
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 + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405296
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 0x4052a7
push eax
call fcn.00420014
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004089d0
push ebx
call fcn.00408bb0
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call fcn.00420014
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x244], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4052ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0041eff4
add esp, 0x234
ret