Function at 0x403a10
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43eafb
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.00413be1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a86
push 0x80004005
call fcn.0040a000
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 0x453d11
mov ecx, ebx
mov dword [esp + 0x244], 0
call fcn.0040dd30
push esi
lea ecx, [esp + 0x1c]
push str.CompressUDiskFileList_start__s_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push edx
push 0x453d11
call fcn.0040d890
mov edx, dword [esp + 0x1c]
push ebp
push ebx
mov ecx, edi
call fcn.004072b0
push 0x447a80
push esi
call fcn.004228cf
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x403afe
push ebx
call fcn.0042295d
add esp, 4
xor ebx, ebx
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004253a0
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 0x403b20
lea eax, [esp + 0x24]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403b30
mov ecx, dword [0x447a40]
mov edx, dword [0x447a44]
mov dword [eax], ecx
mov ecx, dword [0x447a48]
mov dword [eax + 4], edx
mov dl, byte [0x447a4c]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x24]
push eax
call fcn.0040a100
add esp, 4
test eax, eax
jne 0x403b94
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push str.LdxFile__s__Not_Exists
push edx
call fcn.00409910
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push eax
push 0x453d11
call fcn.0040d890
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, esi
call fcn.00403d10
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 8
test eax, eax
je 0x403bcf
push eax
push esi
lea edx, [esp + 0x20]
push str.CompressUDiskFileList_JoinFiles__s___d_
push edx
call fcn.00409910
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push eax
jmp 0x403c72
lea ecx, [esp + 0x24]
push ecx
call edi
push 0x447a18
push esi
call fcn.004228cf
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x403c45
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.00409910
mov esi, dword [esp + 0x28]
add esp, 0x10
push ebx
push esi
push 0x453d11
call fcn.0040d890
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 0x403c3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x403ce4
mov edx, dword [esp + 0x20]
push ebp
mov ecx, ebx
call fcn.00407850
add esp, 4
test al, al
jne 0x403cae
push ebp
lea ecx, [esp + 0x1c]
push str.EncryptFileToLdCab_Fail__s_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push edx
push 0x453d11
call fcn.0040d890
test ebx, ebx
je 0x403c89
push ebx
call fcn.0042295d
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040a170
add esp, 4
push esi
call fcn.0040a100
add esp, 4
test eax, eax
je 0x403ca6
push esi
call edi
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call fcn.0042295d
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 0x403ce2
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.00421f05
add esp, 0x22c
ret