Function at 0x140049058
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.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
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 0x1400490fb
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.140048a10
mov ecx, ebx
mov dword [rsp + 0x58], ebx
call fcn.14004a854
mov dword [rsp + 0x5c], eax
mov ecx, ebx
call fcn.14004accc
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 [0x1401c08f4], ecx
inc ecx
xor edi, edi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
test rcx, rcx
je 0x140049144
mov qword [rsp + 0x68], rcx
cmp word [rcx], di
jne 0x140049149
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 [0x1401c0820]
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 0x1400491a4
call qword [case.0x1400a1ff7.0]
mov qword [rbp - 0x30], rax
jmp 0x1400491a8
mov qword [rbp - 0x30], rdi
mov rax, qword [0x1401c0808]
test rax, rax
je 0x1400491bf
lea rcx, [rsp + 0x50]
call qword [case.0x1400a1ff7.0]
mov rax, qword [0x1401c0810]
test rax, rax
je 0x1400491e0
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a1ff7.0]
mov rax, qword [0x1401c0818]
test rax, rax
je 0x1400491f7
lea rcx, [rsp + 0x50]
call qword [case.0x1400a1ff7.0]
mov rax, qword [0x1401c0880]
test rax, rax
je 0x140049215
test byte [rsp + 0x54], 2
jne 0x140049215
lea rcx, [rsp + 0x50]
call qword [case.0x1400a1ff7.0]
cmp dword [rsp + 0x58], edi
jge 0x14004932c
cmp byte [0x1401c07d0], dil
jne 0x140049250
mov rax, qword [0x1401c07c8]
test rax, rax
je 0x14004923f
call qword [case.0x1400a1ff7.0]
movzx ecx, al
jmp 0x14004924c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
mov ecx, edi
setne cl
test ecx, ecx
je 0x1400492bb
cmp byte [0x140178c90], dil
je 0x1400492bb
test byte [rsp + 0x54], 2
jne 0x1400492bb
mov rax, qword [0x1401c07c0]
mov ebx, 0x800
test rax, rax
je 0x14004928f
cmp byte [0x1401c07f0], dil
jne 0x14004928f
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a1ff7.0]
cmp word [rbp + 0x3f0], di
jne 0x1400492ac
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.140049f3c
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400492e0
mov rax, qword [0x1401c07c0]
test rax, rax
je 0x1400492e0
cmp byte [0x1401c07f0], dil
jne 0x1400492e0
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [case.0x1400a1ff7.0]
test byte [rsp + 0x54], 4
jne 0x1400492f0
cmp byte [0x1401c07e0], dil
je 0x140049302
mov rax, qword [0x1401c0830]
test rax, rax
je 0x140049302
call qword [case.0x1400a1ff7.0]
test byte [rsp + 0x54], 1
jne 0x140049332
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.140119970
add rsp, 0x1508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004c21c
int3
lea rcx, [rsp + 0x50]
call fcn.14004c14c
int3