Function at 0x14002aba0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8a8
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x140322b20]
xor rax, rsp
mov qword [rsp + 0x890], rax
lea rcx, [rsp + 0x300]
call fcn.14001f530
nop
cmp qword [rsp + 0x8c8], 0
je 0x14002ac45
mov rax, qword [rsp + 0x8c8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x14002ac08
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x14002ac45
mov rdx, qword [rsp + 0x8c8]
lea rcx, [rsp + 0x300]
call fcn.140021260
jmp 0x14002b0d6
lea rcx, [rsp + 0x480]
call fcn.14001f530
nop
lea rdx, [rsp + 0x480]
lea rcx, [0x14032af98]
call fcn.14002cce0
xor r9d, r9d
lea r8, [0x1402528c4]
lea rdx, [0x1402528ec]
lea rcx, [rsp + 0x480]
call fcn.14003c8f0
mov r8d, 0x104
lea rdx, [rsp + 0x680]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x40], eax
xor eax, eax
cmp eax, 1
je 0x14002accc
movsxd rax, dword [rsp + 0x40]
movzx eax, word [rsp + rax*2 + 0x680]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x5c], 0x5c
jne 0x14002acca
jmp 0x14002accc
jmp 0x14002ac9f
movsxd rax, dword [rsp + 0x40]
lea rax, [rsp + rax*2 + 0x684]
mov rdx, rax
lea rcx, [rsp + 0x400]
call fcn.14001f4b0
nop
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
shl rax, 1
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x208
jae 0x14002ad0e
jmp 0x14002ad13
call fcn.1401f90d4
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x680], ax
lea rdx, [rsp + 0x680]
lea rcx, [rsp + 0x600]
call fcn.14001f4b0
nop
lea rdx, [0x140252cf4]
lea rcx, [rsp + 0x600]
call fcn.140022f20
lea rcx, [rsp + 0x400]
call fcn.14001bd90
mov r8, 0xffffffffffffffff
lea rdx, [0x140253104]
mov rcx, rax
call fcn.140050590
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x400]
call fcn.14001bd90
cmp qword [rsp + 0x70], 0xffffffffffffffff
je 0x14002ade9
lea rcx, [rsp + 0x400]
call fcn.14001bd90
mov r9, qword [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x400]
call fcn.140021230
nop
lea rcx, [rsp + 0x160]
call fcn.14001f8f0
lea rdx, [rsp + 0x600]
lea rcx, [rsp + 0x300]
call fcn.1400211f0
lea rdx, str.Dump_
lea rcx, [rsp + 0x300]
call fcn.140022f20
lea rdx, [0x140253b88]
lea rcx, [rsp + 0x300]
call fcn.140022f20
lea rdx, [rsp + 0x400]
lea rcx, [rsp + 0x300]
call fcn.140022eb0
lea rdx, [0x1402533e4]
lea rcx, [rsp + 0x300]
call fcn.140022f20
lea rcx, [rsp + 0x500]
call fcn.14001f530
nop
cmp qword [rsp + 0x8d0], 0
je 0x14002b01b
mov rax, qword [rsp + 0x8d0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x14002ae85
mov rax, qword [rsp + 0x50]
test rax, rax
jbe 0x14002b01b
mov rdx, qword [rsp + 0x8d0]
lea rcx, [rsp + 0x380]
call fcn.14001f4b0
nop
xor r9d, r9d
lea r8, [0x140253764]
lea rdx, [0x140253784]
lea rcx, [rsp + 0x380]
call fcn.14003c8f0
xor r9d, r9d
lea r8, [0x140253884]
lea rdx, [0x140253af4]
lea rcx, [rsp + 0x380]
call fcn.14003c8f0
lea rdx, [0x140253b54]
lea rcx, [rsp + 0x380]
call fcn.140035a80
test eax, eax
je 0x14002af73
mov r9d, 1
lea r8, [0x140253b84]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x380]
call fcn.140030b40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x380]
call fcn.1400211f0
nop
lea rcx, [rsp + 0x280]
call fcn.140020590
lea rcx, [rsp + 0x380]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x480]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [0x140253e28]
lea rdx, [rsp + 0x200]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x500]
call fcn.1400211f0
nop
lea rcx, [rsp + 0x200]
call fcn.140020590
nop
lea rcx, [rsp + 0x380]
call fcn.140020590
jmp 0x14002b089
lea rcx, [rsp + 0x480]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, str.__s_.dmp
lea rdx, [rsp + 0x180]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x500]
call fcn.1400211f0
nop
lea rcx, [rsp + 0x180]
call fcn.140020590
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0x300]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x500]
call fcn.140020590
nop
lea rcx, [rsp + 0x600]
call fcn.140020590
nop
lea rcx, [rsp + 0x400]
call fcn.140020590
nop
lea rcx, [rsp + 0x480]
call fcn.140020590
lea rdx, [rsp + 0x300]
lea rcx, [0x14032af98]
call fcn.1400287d0
lea r9, [0x140254030]
xor r8d, r8d
mov edx, 3
lea rcx, [rsp + 0x150]
call fcn.140038d20
lea rcx, [rsp + 0x118]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
xor edx, edx
lea rcx, [rsp + 0x300]
call fcn.14002f250
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x118]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [rsp + 0x58]
mov r9d, ecx
mov r8, rax
lea rdx, str._tasp::library_CreatePath__s_err_lu._n
lea rcx, [rsp + 0x100]
call fcn.14003b980
lea rcx, [rsp + 0x300]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x14002b2c2
lea rdx, str.DumpMiniOpenFile
lea rcx, [rsp + 0x580]
call fcn.14001f4b0
nop
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x580]
call fcn.140022eb0
lea rcx, [rsp + 0x580]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, [0x1402541e0]
xor r8d, r8d
mov edx, 3
lea rcx, [rsp + 0x140]
call fcn.140038d20
lea rcx, [rsp + 0xe8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
xor edx, edx
lea rcx, [rsp + 0x300]
call fcn.14002f250
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0xe8]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [rsp + 0x60]
mov r9d, ecx
mov r8, rax
lea rdx, str._tasp::library_CreateFile__s_err_lu._n
lea rcx, [rsp + 0x130]
call fcn.14003b980
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x580]
call fcn.140020590
nop
lea rcx, [rsp + 0x300]
call fcn.140020590
mov rax, qword [rsp + 0x80]
jmp 0x14002b2f4
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x300]
call fcn.140020590
mov rax, qword [rsp + 0xe0]
jmp 0x14002b2f4
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1401fe250
add rsp, 0x8a8
pop rdi
pop rsi
ret