Function at 0x4039f0
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43e94b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
mov edi, dword [esp + 0x248]
mov ebp, dword [esp + 0x24c]
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov esi, edx
mov dword [esp + 0x1c], eax
call fcn.004133f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a66
push 0x80004005
call fcn.00409d60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
push 0x453d09
mov ecx, ebx
mov dword [esp + 0x244], 0
call fcn.0040d6e0
push esi
lea ecx, [esp + 0x1c]
push str.CompressUDiskFileList_start__s_
push ecx
call fcn.00409670
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push edx
push 0x453d09
call fcn.0040d390
mov edx, dword [esp + 0x1c]
push ebp
push ebx
mov ecx, edi
call fcn.00406fc0
push 0x4479f0
push esi
call fcn.00422167
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x403ade
push ebx
call fcn.004221f5
add esp, 4
xor ebx, ebx
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00424c40
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403b00
lea eax, [esp + 0x24]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403b10
mov ecx, dword [0x4479b0]
mov edx, dword [0x4479b4]
mov dword [eax], ecx
mov ecx, dword [0x4479b8]
mov dword [eax + 4], edx
mov dl, byte [0x4479bc]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x24]
push eax
call fcn.00409e30
add esp, 4
test eax, eax
jne 0x403b74
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push str.LdxFile__s__Not_Exists
push edx
call fcn.00409670
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push eax
push 0x453d09
call fcn.0040d390
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, esi
call fcn.00403cf0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 8
test eax, eax
je 0x403baf
push eax
push esi
lea edx, [esp + 0x20]
push str.CompressUDiskFileList_JoinFiles__s___d_
push edx
call fcn.00409670
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push eax
jmp 0x403c52
lea ecx, [esp + 0x24]
push ecx
call edi
push 0x447988
push esi
call fcn.00422167
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x403c25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea edx, [esp + 0x20]
push str.Open__s_file_error:__d
push edx
call fcn.00409670
mov esi, dword [esp + 0x28]
add esp, 0x10
push ebx
push esi
push 0x453d09
call fcn.0040d390
lea eax, [esi - 0x10]
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x403cc4
mov edx, dword [esp + 0x20]
push ebp
mov ecx, ebx
call fcn.00407580
add esp, 4
test al, al
jne 0x403c8e
push ebp
lea ecx, [esp + 0x1c]
push str.EncryptFileToLdCab_Fail__s_
push ecx
call fcn.00409670
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push edx
push 0x453d09
call fcn.0040d390
test ebx, ebx
je 0x403c69
push ebx
call fcn.004221f5
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409ea0
add esp, 4
push esi
call fcn.00409e30
add esp, 4
test eax, eax
je 0x403c86
push esi
call edi
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call fcn.004221f5
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0042179d
add esp, 0x22c
ret