Function at 0x140040894
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.140027860
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.14003e2b4
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 [0x1400ddcb0], 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 0x140040995
movabs r10, 0xc52927145ed9c370
call qword [case.0x140001f80.0]
mov qword [rbp - 0x60], rax
jmp 0x140040999
mov qword [rbp - 0x60], r13
mov rax, qword [0x1400ddd88]
test rax, rax
je 0x1400409ba
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dd0b0]
test rax, rax
je 0x1400409e5
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 0x140040a06
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
mov rax, qword [0x1400dde50]
test rax, rax
je 0x140040a33
test r12b, r12b
jne 0x140040a33
test byte [rsp + 0x24], 2
jne 0x140040a33
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
cmp dword [rsp + 0x28], r13d
jl 0x140040a40
call fcn.14003f37c
int3
cmp byte [0x1400dde10], r13b
jne 0x140040a7a
mov rax, qword [0x1400dde08]
test rax, rax
je 0x140040a6a
movabs r10, 0xdf949ec45c5ca270
call qword [case.0x140001f80.0]
movzx eax, al
jmp 0x140040a76
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140040a83
test byte [rsp + 0x24], 2
mov bl, 1
je 0x140040a86
mov bl, r13b
test r12b, r12b
jne 0x140040ac8
test bl, bl
jne 0x140040ac8
mov rax, qword [0x1400dde18]
test rax, rax
je 0x140040b36
cmp byte [0x1400dde30], r13b
jne 0x140040b36
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [case.0x140001f80.0]
jmp 0x140040b36
mov edi, 0x800
mov rax, qword [0x1400dde18]
test rax, rax
je 0x140040b01
cmp byte [0x1400dde30], r13b
jne 0x140040b01
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 0x140040b1f
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rbp + 0x3c0]
call fcn.14003d8d4
test bl, bl
je 0x140040b36
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 0x140040b46
cmp byte [0x1400dde20], r13b
je 0x140040b63
mov rax, qword [0x1400ddda0]
test rax, rax
je 0x140040b63
movabs r10, 0x85f13e9656da4870
call qword [case.0x140001f80.0]
nop
test byte [rsp + 0x24], 1
je 0x140040b75
lea rcx, [rsp + 0x20]
call fcn.14003f248
int3
test r12b, r12b
je 0x140040b9d
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.14003ede8
lea rcx, [rsp + 0x20]
call fcn.14003f248
int3