Function at 0x140019ff0
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 0x14001a05b
or eax, 1
mov dword [0x140076d90], eax
lea rcx, [0x140076d80]
call fcn.140019600
lea rcx, [0x14005a800]
call fcn.14001b96c
nop
mov r8b, 1
lea rdx, [0x140076d80]
lea rcx, [rsp + 0x68]
call fcn.14001ac30
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, ebp
dec ecx
je 0x14001a09c
dec ecx
je 0x14001a095
dec ecx
je 0x14001a08e
dec ecx
jne 0x14001a0a6
lea eax, [rcx + 0x44]
jmp 0x14001a0a1
mov eax, 0x49
jmp 0x14001a0a1
mov eax, 0x57
jmp 0x14001a0a1
mov eax, 0x45
mov word [rsp + 0x50], ax
cmp byte [rdi + 0x4007], r15b
je 0x14001a10f
mov edx, 9
lea rcx, [rsp + 0x80]
call fcn.14001d6e0
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.14001dbf0
jmp 0x14001a133
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.14001dbf0
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.14001dd84
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 0x14001a1b1
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 0x14001a1ac
lea r9, [0x14005f1b4]
call fcn.14001dbf0
cmp byte [rdi + 0x4005], r15b
je 0x14001a1d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.14001d8e8
lea rcx, [rax + 0x60]
mov rdx, rdi
call fcn.14001da80
cmp byte [rdi + 0x4004], r15b
je 0x14001a204
mov rcx, qword [rdi + 0x4218]
test rcx, rcx
je 0x14001a204
mov r8, rdi
lea rdx, [0x14005d0ac]
call fcn.14001db14
mov rcx, qword [rdi + 0x4218]
call fcn.14001e474
cmp ebp, dword [rdi + 0x4000]
jg 0x14001a2e4
inc dword [rdi + 0x400c]
mov eax, dword [rdi + 0x400c]
mov ecx, dword [rdi + 0x4008]
cmp eax, ecx
jge 0x14001a2b8
cmp byte [rdi + 0x4007], r15b
je 0x14001a256
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.14001dbf0
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.14001dd84
sub esi, eax
test esi, esi
jle 0x14001a2d0
cmp byte [rdi + 0x4007], 0
je 0x14001a2d0
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.14001dbf0
jmp 0x14001a2d0
jne 0x14001a2e4
lea r9, [0x14005f1b8]
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14001dbf0
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x58]
mov edx, ebp
mov rcx, rdi
call fcn.14001a500
lea rcx, [rsp + 0x68]
call fcn.14001acc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001cc60
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret