Function at 0x140020240
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140028480
sub rsp, rax
mov rax, qword [0x1400de7a8]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, qword [rbp + 0x1438]
xor r12d, r12d
mov word [rbp + 0x3c0], r12w
mov byte [rbp - 0x40], r12b
mov rdx, qword [rbp + 0x1440]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.14000ecdc
mov r15d, eax
mov dword [rsp + 0x20], 1
mov ecx, r12d
lea eax, [r12 + 8]
cmp byte [rdx + 8], r12b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x1400dfce0], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
jne 0x140033c38
mov qword [rsp + 0x38], r12
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [0x1400dfde8]
test rax, rax
je 0x140033c4c
movabs r10, 0xc52927145ed9c370
call qword [case.0x140001f80.0]
mov qword [rbp - 0x60], rax
mov rax, qword [0x1400dfdc8]
test rax, rax
je 0x14002037b
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400df0b0]
test rax, rax
je 0x1400203a6
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dfe80]
test rax, rax
jne 0x140033c55
mov rax, qword [0x1400dfe90]
test rax, rax
jne 0x140033c70
cmp dword [rsp + 0x28], r12d
jge 0x140020453
cmp byte [0x1400dfe50], r12b
jne 0x140033cae
mov rax, qword [0x1400dfe48]
test rax, rax
jne 0x140033c96
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
jne 0x140033cae
mov rax, qword [0x1400dfe58]
test rax, rax
jne 0x140033d29
test byte [rsp + 0x24], 4
jne 0x140033d56
cmp byte [0x1400dfe60], r12b
jne 0x140033d56
test byte [rsp + 0x24], 1
jne 0x140020459
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140024c10
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004002c
nop
lea rcx, [rsp + 0x20]
call fcn.14003fef8
nop
int3
jmp 0x140020240
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x1400202ec
jmp 0x1400202e7
mov qword [rbp - 0x60], r12
jmp 0x14002035a
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
nop
jmp 0x1400203b6
test byte [rsp + 0x24], 2
jne 0x1400203c6
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
nop
jmp 0x1400203c6
movabs r10, 0xdf949ec45c5ca270
call qword [case.0x140001f80.0]
movzx eax, al
jmp 0x1400203fa
test byte [rsp + 0x24], 2
jne 0x140020402
mov ebx, 0x800
mov rax, qword [0x1400dfe58]
test rax, rax
je 0x140033cf2
cmp byte [0x1400dfe70], r12b
jne 0x140033cf2
movabs r10, 0xf990b6e67ede8170
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
cmp word [rbp + 0x3c0], r12w
jne 0x140033d10
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.14003e584
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
nop
jmp 0x140020412
cmp byte [0x1400dfe70], r12b
jne 0x140020412
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
nop
jmp 0x140020412
mov rax, qword [0x1400dfde0]
test rax, rax
je 0x14002042a
movabs r10, 0x85f13e9656da4870
call qword [case.0x140001f80.0]
nop
jmp 0x14002042a