Function at 0x140040414
Capabilities:
Print debug messages

Disassembly:
jmp 0x140042c10
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140092240
sub rsp, rax
mov rax, qword [0x1400d7c88]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r14, qword [rbp + 0x1438]
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x20]
call fcn.1400860f0
nop
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.140037534
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 [0x1400d8f68], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1448]
test rcx, rcx
je 0x140042cd1
cmp word [rcx], r12w
mov qword [rsp + 0x38], rcx
jne 0x140042cd6
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
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 [0x1400d8ee0]
test rax, rax
je 0x140042d3c
movabs r10, 0xc52927145ed9c370
call qword [0x14009aae8]
mov qword [rbp - 0x60], rax
jmp 0x140042d40
mov qword [rbp - 0x60], r12
mov rax, qword [0x1400d8ef8]
test rax, rax
je 0x140042d61
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
mov rax, qword [0x1400d8ef0]
test rax, rax
je 0x140042d8c
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
mov rax, qword [0x1400d8ee8]
test rax, rax
je 0x140042dad
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
mov rax, qword [0x1400d8e88]
test rax, rax
je 0x140042dd5
test byte [rsp + 0x24], 2
jne 0x140042dd5
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
cmp dword [rsp + 0x28], r12d
jge 0x140042f20
cmp byte [0x1400d8f30], r12b
jne 0x140042e1c
mov rax, qword [0x1400d8f38]
test rax, rax
je 0x140042e0a
movabs r10, 0xdf949ec45c5ca270
call qword [0x14009aae8]
movzx ecx, al
jmp 0x140042e18
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
je 0x140042e23
test byte [rsp + 0x24], 2
je 0x140042e5c
mov rax, qword [0x1400d8f40]
test rax, rax
je 0x140042ec0
cmp byte [0x1400d8f10], r12b
jne 0x140042ec0
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
jmp 0x140042ec0
mov ebx, 0x800
mov rax, qword [0x1400d8f40]
test rax, rax
je 0x140042e95
cmp byte [0x1400d8f10], r12b
jne 0x140042e95
movabs r10, 0xf990b6e67ede8170
mov r8d, ebx
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [0x14009aae8]
cmp word [rbp + 0x3c0], r12w
jne 0x140042eb3
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x3c0]
call fcn.1400354d8
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x140042ed0
cmp byte [0x1400d8f20], r12b
je 0x140042eed
mov rax, qword [0x1400d8ed8]
test rax, rax
je 0x140042eed
movabs r10, 0x85f13e9656da4870
call qword [0x14009aae8]
nop
test byte [rsp + 0x24], 1
jne 0x140042f15
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.140083d20
add rsp, 0x14d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140037a60
nop
call fcn.140037f04
nop
int3