Function at 0x14001a060
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140074150]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r13, r9
mov rsi, r8
mov qword [rsp + 0x58], r8
mov ebp, edx
mov rdi, rcx
mov eax, dword [0x140076d90]
test al, 1
jne 0x14001a0cb
or eax, 1
mov dword [0x140076d90], eax
lea rcx, [0x140076d80]
call fcn.140019670
lea rcx, [0x14005a8d0]
call fcn.14001b9dc
nop
mov r8b, 1
lea rdx, [0x140076d80]
lea rcx, [rsp + 0x68]
call fcn.14001aca0
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, ebp
dec ecx
je 0x14001a10c
dec ecx
je 0x14001a105
dec ecx
je 0x14001a0fe
dec ecx
jne 0x14001a116
lea eax, [rcx + 0x44]
jmp 0x14001a111
mov eax, 0x49
jmp 0x14001a111
mov eax, 0x57
jmp 0x14001a111
mov eax, 0x45
mov word [rsp + 0x50], ax
cmp byte [rdi + 0x4007], r15b
je 0x14001a17f
mov edx, 9
lea rcx, [rsp + 0x80]
call fcn.14001d750
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._s_pid__4i__tid__4i___s__s:
or r8, 0xffffffffffffffff
mov esi, 0x2000
mov edx, esi
mov rcx, rdi
call fcn.14001dc60
jmp 0x14001a1a3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._s:
or r8, 0xffffffffffffffff
mov esi, 0x2000
mov edx, esi
mov rcx, rdi
call fcn.14001dc60
mov ecx, eax
cdqe
lea rbx, [rdi + rax*2]
mov r14d, esi
sub r14d, ecx
lea rax, [rsp + 0x120]
movsxd rdx, r14d
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.14001ddf4
movsxd rcx, eax
mov qword [rsp + 0x78], r15
lea r10, [rbx + rcx*2]
sub r14d, ecx
mov r12d, dword [rsp + 0x110]
test r14d, r14d
jle 0x14001a221
movsxd rdx, r14d
mov dword [rsp + 0x28], r12d
or r8, 0xffffffffffffffff
mov rcx, r10
mov qword [rsp + 0x20], r13
cmp byte [rdi + 0x4007], r15b
lea r9, str.___s__i__n
jne 0x14001a21c
lea r9, [0x14005f1e4]
call fcn.14001dc60
cmp byte [rdi + 0x4005], r15b
je 0x14001a244
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.14001d958
lea rcx, [rax + 0x60]
mov rdx, rdi
call fcn.14001daf0
cmp byte [rdi + 0x4004], r15b
je 0x14001a274
mov rcx, qword [rdi + 0x4218]
test rcx, rcx
je 0x14001a274
mov r8, rdi
lea rdx, [0x14005d0ac]
call fcn.14001db84
mov rcx, qword [rdi + 0x4218]
call fcn.14001e4e4
cmp ebp, dword [rdi + 0x4000]
jg 0x14001a354
inc dword [rdi + 0x400c]
mov eax, dword [rdi + 0x400c]
mov ecx, dword [rdi + 0x4008]
cmp eax, ecx
jge 0x14001a328
cmp byte [rdi + 0x4007], r15b
je 0x14001a2c6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, str._s:
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14001dc60
mov r15d, eax
movsxd rcx, r15d
lea rbx, [rdi + rcx*2]
sub esi, r15d
lea rax, [rsp + 0x120]
movsxd rdx, esi
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.14001ddf4
sub esi, eax
test esi, esi
jle 0x14001a340
cmp byte [rdi + 0x4007], 0
je 0x14001a340
movsxd rdx, esi
cdqe
lea rcx, [rbx + rax*2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r13
lea r9, str.___s__i__n
or r8, 0xffffffffffffffff
call fcn.14001dc60
jmp 0x14001a340
jne 0x14001a354
lea r9, [0x14005f1e8]
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14001dc60
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x58]
mov edx, ebp
mov rcx, rdi
call fcn.14001a570
lea rcx, [rsp + 0x68]
call fcn.14001ad30
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret