Function at 0x14001ec70
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [rsp + 0xa0]
mov r13d, edx
mov rsi, qword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0xd0]
mov r15, r9
mov edi, dword [rsp + 0xa8]
mov r12, r8
mov ebp, edx
mov r10d, r14d
mov word [rsi], dx
mov byte [rax], dl
test r14d, r14d
je 0x140161df0
sub r10d, 1
jne 0x14001ee4f
mov ecx, edi
call fcn.14001ee74
mov ebp, eax
mov rbx, qword [rsp + 0xe0]
mov eax, 1
mov dword [rbx], r14d
mov dword [rbx + 4], edi
lock xadd dword [0x14037c0c8], eax
inc eax
xor edi, edi
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140161dfd
mov rax, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rbx + 0x30], r12
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x88], rax
mov rax, qword [0x14037db60]
mov dword [rbx + 0x38], r13d
mov dword [rbx + 0x3c], ebp
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x40], rdi
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
test rax, rax
je 0x140161e0b
call qword [case.0x14006c37f.0]
mov qword [rbx + 0x78], rax
mov rax, qword [0x14037b550]
test rax, rax
je 0x14001edaf
mov rdx, qword [rsp + 0xd0]
mov r8d, 0x400
mov rcx, rbx
call qword [case.0x14006c37f.0]
mov rax, qword [0x14037dd18]
test rax, rax
jne 0x140161e13
mov rax, qword [0x14037dd28]
test rax, rax
jne 0x140161e22
cmp dword [rbx + 4], edi
jge 0x140161e31
cmp byte [0x14037dce8], dil
jne 0x140161e78
mov rax, qword [0x14037dce0]
test rax, rax
jne 0x140161e49
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
jne 0x140161e78
mov eax, edi
test eax, eax
jne 0x140161e78
mov rax, qword [0x14037dcf0]
test rax, rax
jne 0x140161e57
cmp byte [0x14037dcf8], dil
jne 0x140161ec9
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
sub r10d, 1
jne 0x140161da0
test edi, edi
jns 0x140161db7
mov ecx, edi
call fcn.14009b3d0
jmp 0x14001ecde
cmp r10d, 1
jne 0x14001ece0
mov ecx, edi
call fcn.14009bce0
nop
jmp 0x14001ecde
mov rax, qword [rsp + 0x98]
mov edi, 0x8007029c
mov dword [rsp + 0x38], edi
mov edx, r13d
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.14001eb44
nop
jmp 0x14001ee61
mov ecx, edi
call fcn.140187d54
nop
jmp 0x14001ecde
cmp word [rax], di
jne 0x14001ed16
jmp 0x14001ed13
mov rax, rdi
jmp 0x14001ed88
mov rcx, rbx
call qword [case.0x14006c37f.0]
nop
jmp 0x14001edbf
mov rcx, rbx
call qword [case.0x14006c37f.0]
nop
jmp 0x14001edcf
cmp r14d, 3
je 0x140161e3d
call fcn.140188f34
int3
mov dword [rbx + 4], 0x8000ffff
jmp 0x14001edd8
call qword [case.0x14006c37f.0]
movzx eax, al
jmp 0x14001ee0b
cmp byte [0x14037dd08], dil
jne 0x14001ee23
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14006c37f.0]
nop
jmp 0x14001ee23
mov rax, qword [0x14037dcf0]
mov ebp, 0x800
test rax, rax
je 0x140161ea1
cmp byte [0x14037dd08], dil
jne 0x140161ea1
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call qword [case.0x14006c37f.0]
cmp word [rsi], di
jne 0x140161eb4
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1401873f0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
nop
jmp 0x14001ee23
mov rax, qword [0x14037db50]
test rax, rax
je 0x14001ee30
call qword [case.0x14006c37f.0]
nop
jmp 0x14001ee30