Function at 0x14004d128
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.1400ea090
sub rsp, rax
mov r14, r8
mov esi, edx
mov rbx, rcx
mov r15, qword [rbp + 0x1428]
xor r13d, r13d
cmp qword [0x140160798], r13
setne dil
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x20]
call fcn.1400eb6e0
nop
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.140039e30
mov r12d, 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 [0x140160718], ecx
inc ecx
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x1438]
test rcx, rcx
je 0x14004d1e4
cmp word [rcx], r13w
mov qword [rsp + 0x38], rcx
jne 0x14004d1e9
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], r12d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x58], r15
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 [0x1401607f0]
test rax, rax
je 0x14004d24f
movabs r10, 0xc52927145ed9c370
call qword [case.0x1400bdf0e.0]
mov qword [rbp - 0x60], rax
jmp 0x14004d253
mov qword [rbp - 0x60], r13
mov rax, qword [0x1401607f8]
test rax, rax
je 0x14004d274
movabs r10, 0xd8113e055e56ba70
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
mov rax, qword [0x140160800]
test rax, rax
je 0x14004d29f
movabs r10, 0xea190e0a58da1a70
mov r8d, 0x400
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
mov rax, qword [0x1401607e8]
test rax, rax
je 0x14004d2c0
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
mov rax, qword [0x140160790]
test rax, rax
je 0x14004d2ed
test dil, dil
jne 0x14004d2ed
test byte [rsp + 0x24], 2
jne 0x14004d2ed
movabs r10, 0xb398bf8a3cd18a70
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
cmp dword [rsp + 0x28], r13d
jl 0x14004d2fa
call fcn.14003b694
int3
cmp byte [0x140160822], r13b
jne 0x14004d336
mov rax, qword [0x140160830]
test rax, rax
je 0x14004d324
movabs r10, 0xdf949ec45c5ca270
call qword [case.0x1400bdf0e.0]
movzx ecx, al
jmp 0x14004d332
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, r13d
test eax, eax
setne cl
test ecx, ecx
je 0x14004d33f
test byte [rsp + 0x24], 2
mov bl, 1
je 0x14004d342
mov bl, r13b
test dil, dil
jne 0x14004d384
test bl, bl
jne 0x14004d384
mov rax, qword [0x140160838]
test rax, rax
je 0x14004d3ec
cmp byte [0x140160820], r13b
jne 0x14004d3ec
movabs r10, 0xf990b6e67ede8170
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
jmp 0x14004d3ec
mov esi, 0x800
mov rax, qword [0x140160838]
test rax, rax
je 0x14004d3bd
cmp byte [0x140160820], r13b
jne 0x14004d3bd
movabs r10, 0xf990b6e67ede8170
mov r8d, esi
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
call qword [case.0x1400bdf0e.0]
cmp word [rbp + 0x3c0], r13w
jne 0x14004d3db
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rbp + 0x3c0]
call fcn.140039a58
test bl, bl
je 0x14004d3ec
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rsp + 0x24], 4
jne 0x14004d3fc
cmp byte [0x140160821], r13b
je 0x14004d419
mov rax, qword [0x1401607e0]
test rax, rax
je 0x14004d419
movabs r10, 0x85f13e9656da4870
call qword [case.0x1400bdf0e.0]
nop
test byte [rsp + 0x24], 1
je 0x14004d42b
lea rcx, [rsp + 0x20]
call fcn.14003b1f0
int3
test dil, dil
je 0x14004d453
movabs r10, 0xc489a7527c55f970
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x20]
mov rax, qword [0x140160798]
call qword [case.0x1400bdf0e.0]
lea rcx, [rsp + 0x20]
call fcn.14003aba4
lea rcx, [rsp + 0x20]
call fcn.14003b1f0
int3