Function at 0x140029850
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x140322b20]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1f8]
cmp dword [rax + 0xc], 0
jl 0x1400298a5
mov rax, qword [rsp + 0x1f8]
cmp dword [rax + 0xc], 0xa
jl 0x1400298ac
xor eax, eax
jmp 0x140029eff
mov rax, qword [rsp + 0x1f8]
movsxd rax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x1f0]
add rcx, 0x4f0
mov r8, rax
lea rdx, [rsp + 0xc0]
call fcn.140021930
mov rcx, rax
call fcn.140021ad0
movzx eax, al
test eax, eax
jne 0x1400298ed
xor eax, eax
jmp 0x140029eff
mov rax, qword [rsp + 0x1f8]
mov edx, dword [rax + 0xc]
lea rcx, [0x14032b0b0]
call fcn.140021a70
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1f8]
mov rdx, qword [rax]
lea rcx, [rsp + 0xe8]
call fcn.1400060b0
nop
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x1f0]
call fcn.14002b620
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1f0]
call fcn.14002f070
nop
lea rcx, [rsp + 0x128]
call fcn.140006090
nop
lea rdx, [0x140255be4]
mov rcx, qword [rsp + 0x210]
call fcn.1400508e0
test rax, rax
je 0x1400299b9
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x128]
call fcn.14000ca20
lea r8, [0x140255c14]
lea rdx, [0x140255d24]
lea rcx, [rsp + 0x128]
call fcn.14003cbf0
lea rcx, [rsp + 0x128]
call fcn.1400061b0
mov qword [rsp + 0x210], rax
lea rcx, [rsp + 0x150]
call fcn.14001f530
nop
lea rdx, [rsp + 0x150]
lea rcx, [0x14032af98]
call fcn.14002cce0
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.14002f250
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x50], 0x400
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
jmp 0x140029a17
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0xa
jge 0x140029c42
movsxd rax, dword [rsp + 0x50]
mov rcx, rax
call fcn.1401fca8c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140029a4e
lea rcx, str.DebugLog2:_ERROR_malloc_error______n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140029c42
mov qword [rsp + 0xd8], 0
lea rcx, [rsp + 0x108]
call fcn.1400061b0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0xe8]
call fcn.1400061b0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x1f0]
add rcx, 0x650
call fcn.1400061b0
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
lea r8, str.__s____s___s:Level__s:_s
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140040450
movsxd rax, dword [rsp + 0x50]
lea r8, [rsp + 0xd8]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400403e0
movsxd rax, dword [rsp + 0x50]
sub rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x218]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x210]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8, rcx
lea rdx, [rsp + 0xe0]
lea rcx, [0x14032af98]
call fcn.140050a70
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jl 0x140029b60
jmp 0x140029c42
cmp dword [rsp + 0x64], 0xfffffffe
jne 0x140029c16
mov edx, 5
lea rcx, [0x14032b0b0]
call fcn.140021a70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x108]
call fcn.1400061b0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xe8]
call fcn.1400061b0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x1f0]
add rcx, 0x650
call fcn.1400061b0
movsxd rcx, dword [rsp + 0x50]
mov edx, dword [rsp + 0xe0]
mov dword [rsp + 0x40], edx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
lea r8, str.__s____s___s:Level__s:_s_tExceptionCode0x_X._n
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140040450
jmp 0x140029c42
cmp dword [rsp + 0x64], 0
jge 0x140029c3d
mov rcx, qword [rsp + 0x58]
call fcn.1401fca4c
mov qword [rsp + 0x58], 0
mov eax, dword [rsp + 0x50]
add eax, 0x400
mov dword [rsp + 0x50], eax
jmp 0x140029a0d
cmp dword [rsp + 0x60], 0xa
jne 0x140029d11
mov dword [rsp + 0x50], 0x400
movsxd rax, dword [rsp + 0x50]
mov rcx, rax
call fcn.1401fca8c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140029d11
mov edx, 5
lea rcx, [0x14032b0b0]
call fcn.140021a70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x108]
call fcn.1400061b0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xe8]
call fcn.1400061b0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x1f0]
add rcx, 0x650
call fcn.1400061b0
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
lea r8, str.__s____s___s:Level__s:_s_tMemory_over_10K._n
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140040450
cmp qword [rsp + 0x58], 0
je 0x140029ea2
mov eax, dword [rsp + 0x208]
and eax, 1
cmp eax, 1
jne 0x140029d37
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [rsp + 0x208]
and eax, 2
cmp eax, 2
jne 0x140029e98
mov qword [rsp + 0xd0], 0
movsxd rax, dword [rsp + 0x50]
lea r8, [rsp + 0xd0]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400403e0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0xa
je 0x140029ddc
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + 0x20], 0xa
lea r9, [rsp + 0xd0]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1f0]
call fcn.140024d00
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + 0x20], 0xa
lea r9, [rsp + 0xd0]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1f0]
call fcn.140024d00
jmp 0x140029e03
movsxd rax, dword [rsp + 0x50]
mov byte [rsp + 0x20], 0xa
lea r9, [rsp + 0xd0]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1f0]
call fcn.140024d00
mov rax, qword [rsp + 0x1f8]
cmp dword [rax + 8], 2
jne 0x140029e33
mov rax, qword [rsp + 0x1f8]
mov edx, dword [rax + 0xc]
lea rcx, [0x14032b0b0]
call fcn.140031230
mov rcx, qword [rsp + 0x1f8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x1f8]
cmp dword [rax + 8], 0
jne 0x140029e6f
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [0x14032b0b0]
call fcn.14003bc40
jmp 0x140029e96
mov rax, qword [rsp + 0x1f8]
cmp dword [rax + 8], 1
jne 0x140029e96
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14032b0b0]
call fcn.14003bca0
jmp 0x140029ea2
mov rcx, qword [rsp + 0x58]
call fcn.1401fca4c
cmp qword [rsp + 0x58], 0
je 0x140029eb4
mov dword [rsp + 0x68], 0
jmp 0x140029ebc
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x150]
call fcn.140020590
nop
lea rcx, [rsp + 0x128]
call fcn.140006170
nop
lea rcx, [rsp + 0x108]
call fcn.140006170
nop
lea rcx, [rsp + 0xe8]
call fcn.140006170
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401fe250
add rsp, 0x1e8
ret