Function at 0x404c70
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43b88b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [esp + 0x240]
mov ebp, dword [esp + 0x238]
mov esi, dword [esp + 0x23c]
mov edi, dword [esp + 0x244]
mov ebx, dword [esp + 0x248]
mov dword [esp + 0x18], eax
call fcn.004125a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404cec
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 ebp
push ebx
mov ecx, 0x44e3c9
mov dword [esp + 0x238], 0
call fcn.0040bf40
push esi
lea ecx, [esp + 0x18]
push str.CompressUDiskFileList_start__s_
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
mov ecx, 0x44e3c9
call fcn.0040be50
mov eax, dword [esp + 0x18]
push ebx
push 2
push edi
push ebp
push eax
call fcn.00402360
push 0x43e954
push esi
call fcn.00420f7d
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x404d65
push edi
call fcn.00420934
add esp, 4
xor edi, edi
push 0x208
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.00421360
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404d83
lea eax, [esp + 0x1c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404d92
mov edx, dword [0x43e8d4]
mov ecx, dword [0x43e8d8]
mov dword [eax], edx
mov edx, dword [0x43e8dc]
mov dword [eax + 4], ecx
mov cl, byte [0x43e8e0]
mov dword [eax + 8], edx
lea edx, [esp + 0x1c]
push edx
mov byte [eax + 0xc], cl
call fcn.00408690
add esp, 4
test eax, eax
jne 0x404df6
lea eax, [esp + 0x1c]
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, 0x44e3c9
call fcn.0040be50
push edi
push 0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00402e00
add esp, 0x10
test eax, eax
je 0x404e24
push eax
push esi
lea ecx, [esp + 0x1c]
push str.CompressUDiskFileList_JoinFiles__s___d_
push ecx
call fcn.00401f40
add esp, 0x10
jmp 0x404ec0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43e830
push esi
call fcn.00420f7d
mov edi, eax
add esp, 8
test edi, edi
jne 0x404e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea ecx, [esp + 0x1c]
push str.Open__s_file_error:__d
push ecx
call fcn.00401f40
mov esi, dword [esp + 0x24]
add esp, 0x10
push edi
push esi
mov ecx, 0x44e3c9
call fcn.0040be50
lea eax, [esi - 0x10]
mov dword [esp + 0x230], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x404f2f
push ebx
push ebp
push edi
call fcn.00402860
add esp, 0xc
test al, al
jne 0x404ef9
push ebx
lea ecx, [esp + 0x18]
push str.EncryptFileToLdCab_Fail__s_
push ecx
call fcn.00401f40
add esp, 0xc
mov edx, dword [esp + 0x14]
push 0
push edx
mov ecx, 0x44e3c9
call fcn.0040be50
test edi, edi
je 0x404ede
push edi
call fcn.00420934
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.004086c0
push esi
call fcn.004088a0
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call fcn.00420934
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041f914
add esp, 0x220
ret