Function at 0x140040864
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.140027610
sub rsp, rax
mov r14, r8
mov esi, edx
mov r15, rcx
mov rdi, qword [rbp + 0x1428]
xor r13d, r13d
cmp qword [0x1400dde48], r13
setne r12b
mov word [rbp + 0x3c0], r13w
mov byte [rbp - 0x40], r13b
mov rdx, qword [rbp + 0x1430]
mov ecx, dword [rdx]
mov dword [rsp + 0x28], ecx
mov eax, dword [rdx + 4]
mov dword [rsp + 0x2c], eax
call fcn.14003e284
mov ebx, eax
mov dword [rsp + 0x20], r13d
mov ecx, r13d
lea eax, [r13 + 8]
cmp byte [rdx + 8], r13b
cmovne ecx, eax
mov dword [rsp + 0x24], ecx
lea ecx, [rax - 7]
lock xadd dword [0x1400ddcc0], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], r13
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], r14
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r15
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 [0x1400ddda8]
test rax, rax
je 0x140040965
movabs r10, 0xc52927145ed9c370
call qword [case.0x140001f80.0]
mov qword [rbp - 0x60], rax
jmp 0x140040969
mov qword [rbp - 0x60], r13
mov rax, qword [0x1400ddd88]
test rax, rax
je 0x14004098a
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dd0d0]
test rax, rax
je 0x1400409b5
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dde40]
test rax, rax
je 0x1400409d6
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dde50]
test rax, rax
je 0x140040a03
test r12b, r12b
jne 0x140040a03
test byte [rsp + 0x24], 2
jne 0x140040a03
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
cmp dword [rsp + 0x28], r13d
jl 0x140040a10
call fcn.14003f34c
int3
cmp byte [0x1400dde10], r13b
jne 0x140040a4a
mov rax, qword [0x1400dde08]
test rax, rax
je 0x140040a3a
movabs r10, 0xdf949ec45c5ca270
call qword [case.0x140001f80.0]
movzx eax, al
jmp 0x140040a46
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140040a53
test byte [rsp + 0x24], 2
mov bl, 1
je 0x140040a56
mov bl, r13b
test r12b, r12b
jne 0x140040a98
test bl, bl
jne 0x140040a98
mov rax, qword [0x1400dde18]
test rax, rax
je 0x140040b06
cmp byte [0x1400dde30], r13b
jne 0x140040b06
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
jmp 0x140040b06
mov edi, 0x800
mov rax, qword [0x1400dde18]
test rax, rax
je 0x140040ad1
cmp byte [0x1400dde30], r13b
jne 0x140040ad1
movabs r10, 0xf990b6e67ede8170
mov r8d, edi
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
cmp word [rbp + 0x3c0], r13w
jne 0x140040aef
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x3c0]
call fcn.14003d8a4
test bl, bl
je 0x140040b06
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
test byte [rsp + 0x24], 4
jne 0x140040b16
cmp byte [0x1400dde20], r13b
je 0x140040b33
mov rax, qword [0x1400ddda0]
test rax, rax
je 0x140040b33
movabs r10, 0x85f13e9656da4870
call qword [case.0x140001f80.0]
nop
test byte [rsp + 0x24], 1
je 0x140040b45
lea rcx, [rsp + 0x20]
call fcn.14003f218
int3
test r12b, r12b
je 0x140040b6d
movabs r10, 0xc489a7527c55f970
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
mov rax, qword [0x1400dde48]
call qword [case.0x140001f80.0]
lea rcx, [rsp + 0x20]
call fcn.14003edb8
lea rcx, [rsp + 0x20]
call fcn.14003f218
int3