Function at 0x1400495a8
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1408]
mov eax, 0x1508
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov rdi, qword [rbp + 0x1480]
mov r14d, edx
mov r13, qword [rbp + 0x1470]
xor edx, edx
mov rsi, rcx
mov word [rbp + 0x3f0], dx
mov rcx, qword [rbp + 0x1478]
mov r12, r9
mov ebx, dword [rdi]
mov r15, r8
mov eax, dword [rdi + 4]
mov qword [rsp + 0x40], rcx
mov byte [rbp - 0x10], dl
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x5c], eax
test ebx, ebx
js 0x14004964b
mov ebx, 0x8007029c
mov edx, r14d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], r13
call fcn.140048f60
mov ecx, ebx
mov dword [rsp + 0x58], ebx
call fcn.14004ada4
mov dword [rsp + 0x5c], eax
mov ecx, ebx
call fcn.14004b21c
xor ecx, ecx
mov dword [rsp + 0x50], 2
cmp byte [rdi + 8], cl
mov ebx, eax
lea eax, [rcx + 8]
cmovne ecx, eax
mov dword [rsp + 0x54], ecx
lea ecx, [rax - 7]
lock xadd dword [0x1401c18f4], ecx
inc ecx
xor edi, edi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
test rcx, rcx
je 0x140049694
mov qword [rsp + 0x68], rcx
cmp word [rcx], di
jne 0x140049699
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xorps xmm1, xmm1
mov qword [rbp - 0x78], r15
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x38], rax
mov rax, qword [0x1401c1820]
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x6c], ebx
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x20], rsi
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x68], xmm1
movups xmmword [rbp - 0x58], xmm1
test rax, rax
je 0x1400496f4
call qword [case.0x1400a26d7.0]
mov qword [rbp - 0x30], rax
jmp 0x1400496f8
mov qword [rbp - 0x30], rdi
mov rax, qword [0x1401c1808]
test rax, rax
je 0x14004970f
lea rcx, [rsp + 0x50]
call qword [case.0x1400a26d7.0]
mov rax, qword [0x1401c1810]
test rax, rax
je 0x140049730
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a26d7.0]
mov rax, qword [0x1401c1818]
test rax, rax
je 0x140049747
lea rcx, [rsp + 0x50]
call qword [case.0x1400a26d7.0]
mov rax, qword [0x1401c1880]
test rax, rax
je 0x140049765
test byte [rsp + 0x54], 2
jne 0x140049765
lea rcx, [rsp + 0x50]
call qword [case.0x1400a26d7.0]
cmp dword [rsp + 0x58], edi
jge 0x14004987c
cmp byte [0x1401c17d0], dil
jne 0x1400497a0
mov rax, qword [0x1401c17c8]
test rax, rax
je 0x14004978f
call qword [case.0x1400a26d7.0]
movzx ecx, al
jmp 0x14004979c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
mov ecx, edi
setne cl
test ecx, ecx
je 0x14004980b
cmp byte [0x140179c90], dil
je 0x14004980b
test byte [rsp + 0x54], 2
jne 0x14004980b
mov rax, qword [0x1401c17c0]
mov ebx, 0x800
test rax, rax
je 0x1400497df
cmp byte [0x1401c17f0], dil
jne 0x1400497df
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a26d7.0]
cmp word [rbp + 0x3f0], di
jne 0x1400497fc
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.14004a48c
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140049830
mov rax, qword [0x1401c17c0]
test rax, rax
je 0x140049830
cmp byte [0x1401c17f0], dil
jne 0x140049830
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [case.0x1400a26d7.0]
test byte [rsp + 0x54], 4
jne 0x140049840
cmp byte [0x1401c17e0], dil
je 0x140049852
mov rax, qword [0x1401c1830]
test rax, rax
je 0x140049852
call qword [case.0x1400a26d7.0]
test byte [rsp + 0x54], 1
jne 0x140049882
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x1508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004c76c
int3
lea rcx, [rsp + 0x50]
call fcn.14004c69c
int3