Function at 0x411c00
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Read file on windows
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43f0a3
mov eax, dword fs:[0]
push eax
sub esp, 0x9f4
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x9f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xa08]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa18]
xor ebp, ebp
push 0x208
mov esi, ecx
lea ecx, [esp + 0x5f8]
push ebp
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], ebp
call fcn.00425400
add esp, 0xc
push 0x208
lea edx, [esp + 0x800]
push ebp
push edx
call fcn.00425400
add esp, 0xc
push esi
lea ecx, [esp + 0x28]
call fcn.00409b60
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xa14], ebp
call fcn.0040a9e0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x5f4]
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx], dl
inc eax
inc ecx
test dl, dl
jne 0x411cb0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa10], edi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x5f4]
add eax, edi
jmp 0x411d10
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411d10
mov ecx, dword [0x4479a0]
mov edx, dword [0x4479a4]
mov dword [eax], ecx
mov ecx, dword [0x4479a8]
mov dword [eax + 4], edx
mov dl, byte [0x4479ac]
mov dword [eax + 8], ecx
push esi
lea ecx, [esp + 0x28]
mov byte [eax + 0xc], dl
call fcn.00409b60
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xa14], 1
call fcn.0040a9e0
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x7fc]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x411d70
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa10], edi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x7fc]
add eax, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411dc8
mov ecx, dword [0x447c04]
mov edx, dword [0x447c08]
mov dword [eax], ecx
mov ecx, dword [0x447c0c]
mov dword [eax + 4], edx
mov dl, byte [0x447c10]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x5f4]
push 0x447a48
push eax
call fcn.0042292f
lea ecx, [esp + 0x804]
mov ebx, eax
push 0x447a48
push ecx
mov dword [esp + 0x48], ebx
call fcn.0042292f
add esp, 0x10
mov dword [esp + 0x30], eax
cmp ebx, ebp
je 0x412810
cmp eax, ebp
je 0x412810
push 0x10e
lea edx, [esp + 0x60]
push ebp
push edx
call fcn.00425400
add esp, 0xc
push ebx
push 1
lea eax, [esp + 0x64]
push 0x10e
push eax
call fcn.004233a6
lea ecx, [esp + 0x6c]
push str.LDIND
push ecx
call fcn.00422216
add esp, 0x18
test eax, eax
jne 0x412810
mov byte [esp + 0x16], al
mov byte [esp + 0x23], al
mov ax, word [esp + 0x66]
xor esi, esi
xor ebp, ebp
mov edx, 1
mov byte [esp + 0x17], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
cmp dx, ax
jne 0x411ebe
push 0x118
call fcn.00413bfc
mov ebp, eax
mov eax, 0x118
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
jmp 0x411ee9
mov ecx, 2
cmp cx, ax
jne 0x411eec
push 0x124
call fcn.00413bfc
movzx edx, word [esp + 0x66]
mov ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], 0x124
mov dword [esp + 0x48], edx
add esp, 4
call fcn.00413c41
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x411f06
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
mov dword [esp + 0xa10], 2
cmp ebp, esi
jne 0x411f7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push str.UnCompressLdxFile_new_failed_with_error_code:__d
push ecx
call fcn.00409910
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0
push esi
push 0x453d11
call fcn.0040d890
lea eax, [esi - 0x10]
mov dword [esp + 0xa10], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x412810
push ebx
call fcn.0042309e
add esp, 4
test eax, eax
jne 0x4127d4
mov ecx, dword [esp + 0x48]
push ecx
push 0
push ebp
call fcn.00425400
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
add esp, 0xc
push esi
push 1
push edx
push ebp
call fcn.004233a6
add esp, 0x10
cmp eax, 1
je 0x411fc6
push esi
call fcn.004230d2
add esp, 4
test eax, eax
jne 0x4127a2
mov ax, word [esp + 0x66]
mov ecx, 1
cmp cx, ax
je 0x411fdf
mov edx, 2
cmp dx, ax
jne 0x411ff5
push ebp
push 0x448410
call fcn.00422216
add esp, 8
test eax, eax
je 0x4127d4
push 0x208
lea eax, [esp + 0x3f0]
push 0
push eax
call fcn.00425400
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x3f8]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x412020
lea edi, [esp + 0x3ec]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412032
mov cx, word [0x4478c8]
lea edx, [esp + 0x68]
push 0x448410
push edx
mov word [edi], cx
call fcn.00422216
add esp, 8
test eax, eax
je 0x4120ec
cmp dword [0x453d0d], 0
jne 0x4120b4
lea eax, [esp + 0x68]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412070
lea edi, [esp + 0x3ec]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412081
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x3ec]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4120a1
mov ax, word [0x4478c8]
mov word [edi], ax
jmp 0x4120ec
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3f0]
push edx
lea eax, [esp + 0x20]
push str.UnCompressLdxFile_m_szRootPath__s___s_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov dword [esp + 0x4c], 1
mov ax, word [esp + 0x66]
mov edx, 1
cmp dx, ax
jne 0x41211b
mov eax, ebp
mov edx, ebp
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412100
lea edi, [esp + 0x3ec]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412111
jmp 0x412149
mov ecx, 2
cmp cx, ax
jne 0x412159
mov eax, ebp
mov edx, ebp
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412130
lea edi, [esp + 0x3ec]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x412141
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00413c41
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x411efc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x3ec]
push ecx
lea edx, [esp + 0x38]
push 0x447a60
push edx
mov byte [esp + 0xa1c], 3
call fcn.00409910
mov esi, dword [esp + 0x40]
add esp, 0xc
push 0x5c
push esi
call fcn.004239e5
add esp, 8
test eax, eax
jne 0x4121b7
or eax, 0xffffffff
jmp 0x4121b9
sub eax, esi
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409440
cmp byte [esp + 0x16], 0
mov byte [esp + 0xa10], 4
mov ebx, dword [esp + 0x40]
jne 0x412208
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x4121f9
push 0
lea ecx, [esp + 0x44]
call fcn.00409e60
mov ebx, dword [esp + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne byte [esp + 0x23]
mov cx, word [esp + 0x66]
mov edx, 1
xor eax, eax
cmp dx, cx
jne 0x412221
mov eax, dword [ebp + 0x10c]
jmp 0x412231
mov edx, 2
cmp dx, cx
jne 0x412231
mov eax, dword [ebp + 0x108]
test eax, eax
jns 0x412282
lea edi, [esp + 0x3ec]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412240
mov ax, word [0x4478c8]
lea ecx, [esp + 0x3ec]
push ecx
mov ecx, dword [esp + 0x40]
mov word [edi], ax
call fcn.00412cf0
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0xa10], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x412757
cmp dword [0x453d0d], 0
mov esi, dword [esp + 0x3c]
jne 0x4122a6
lea ecx, [esp + 0x3ec]
push ecx
mov ecx, esi
call fcn.00412cf0
mov cx, word [esp + 0x6a]
add esp, 4
mov edx, 1
cmp dx, cx
jne 0x4122c2
mov eax, dword [ebp + 0x110]
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
push ecx
jmp 0x4122e1
mov edx, 2
cmp dx, cx
jne 0x4122e9
mov eax, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x11c]
mov edx, dword [esp + 0x30]
push 0
push eax
push ecx
push edx
call fcn.00422ad5
add esp, 0x10
lea eax, [esp + 0x3ec]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409b60
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa14], 5
call fcn.0040a890
add esp, 4
mov byte [esp + 0xa10], 7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41233b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00413c41
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x411efc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xa10], 8
cmp dword [0x453d0d], 0
jne 0x4123ba
lea ecx, [esp + 0x3ec]
push ecx
lea edx, [esp + 0x1c]
push str.UnCompressLdxFile_strDstFile__s_
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 + 0x3ec]
push ecx
lea edx, [esp + 0x20]
push 0x447a60
push edx
call fcn.00409910
add esp, 0xc
jmp 0x412481
cmp dword [esp + 0xa1c], 0
je 0x412459
cmp dword [esp + 0x4c], 0
lea eax, [esp + 0x3ec]
je 0x4123f7
push eax
lea ecx, [esp + 0x20]
push 0x447a60
push ecx
call fcn.00409910
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x412481
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412400
sub eax, edx
xor edx, edx
cmp byte [esp + eax + 0x3eb], 0x5c
je 0x41244b
add eax, 0xffffffff
js 0x41244b
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x3ec]
cmp cl, 0x2e
je 0x412444
cmp cl, 0x5c
je 0x41244b
sub eax, 1
jns 0x412420
push edx
push esi
push 0x448e6c
lea edx, [esp + 0x28]
push edx
jmp 0x412479
lea edx, [esp + eax + 0x3ec]
push edx
push esi
push 0x448e6c
lea edx, [esp + 0x28]
push edx
jmp 0x412479
cmp dword [esp + 0x4c], 0
je 0x412469
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x50]
push eax
push esi
push str._s_s
lea ecx, [esp + 0x28]
push ecx
call fcn.00409910
add esp, 0x10
cmp byte [esp + 0x23], 0
je 0x41262e
cmp byte [esp + 0x16], 0
jne 0x412682
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4124b9
push 0
lea ecx, [esp + 0x20]
call fcn.00409e60
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x16c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412639
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x404
je 0x412589
cmp eax, 0xc04
je 0x412589
lea eax, [esp + 0x58]
push eax
mov edi, 7
call fcn.0040f260
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x54]
push ecx
mov edi, 0x74
mov byte [esp + 0xa14], 9
call fcn.0040f260
mov ebp, dword [ebp]
mov eax, dword [eax]
add esp, 4
push 4
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41255f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa10], 8
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4125a4
push 4
push 0x448e7c
push 0x448e88
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, eax
cmp edi, 7
jne 0x4125bc
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 1
jmp 0x412686
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push esi
lea ecx, [esp + 0x20]
push str.UnCompressLdxFile_SetFileAttributes__s__GetLastError__d_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x28]
add esp, 0x10
push 0
push edx
push 0x453d11
call fcn.0040d890
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
push eax
push esi
lea eax, [esp + 0x20]
push str.UnCompressLdxFile_DeleteFile__s_GetLastError__d_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push ecx
push 0x453d11
call fcn.0040d890
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x16], 1
jmp 0x412686
cmp byte [esp + 0x16], 0
jne 0x412682
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x412657
push 0
lea ecx, [esp + 0x20]
call fcn.00409e60
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x2ac]
push edx
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412679
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 1
test edi, edi
setne byte [esp + 0x16]
jmp 0x412686
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x17], 0
je 0x4126f3
mov ax, word [esp + 0x66]
mov ecx, 1
cmp cx, ax
jne 0x4126b4
mov edx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x114]
push edx
push 0
lea ecx, [ebp + 0x104]
push eax
jmp 0x4126d9
mov ecx, 2
cmp cx, ax
jne 0x4126f3
mov edx, dword [ebp + 0x108]
mov eax, dword [ebp + 0x118]
push edx
mov edx, dword [ebp + 0x114]
push eax
lea ecx, [ebp + 0x100]
push edx
mov edx, dword [esp + 0x3c]
push esi
call fcn.00412870
add esp, 0x10
cmp eax, 1
je 0x4126f3
mov dword [esp + 0x2c], 0xffffffff
lea eax, [esi - 0x10]
mov byte [esp + 0xa10], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412717
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa10], 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41273f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0xa10], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa10], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41278b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042309e
add esp, 4
test eax, eax
je 0x411f8b
jmp 0x4127d4
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push str.CUnCompressFile::UnCompressLdxFile_fread_Fail__d_
push edx
call fcn.00409910
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
push eax
push 0x453d11
call fcn.0040d890
push ebp
call fcn.00413c2b
mov dword [esp + 0xa14], 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 0x412808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x41281d
push ebx
call fcn.004229bd
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41282e
push eax
call fcn.004229bd
add esp, 4
push 0
push str.UnCompressLdxFile_Over
push 0x453d11
call fcn.0040d890
mov eax, edi
mov ecx, dword [esp + 0xa08]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9f0]
xor ecx, esp
call fcn.00421f65
add esp, 0xa00
ret