Function at 0x140047858
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.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
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 0x1400478fb
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.140047210
mov ecx, ebx
mov dword [rsp + 0x58], ebx
call fcn.140049054
mov dword [rsp + 0x5c], eax
mov ecx, ebx
call fcn.1400494cc
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 [0x1401bf8f4], ecx
inc ecx
xor edi, edi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
test rcx, rcx
je 0x140047944
mov qword [rsp + 0x68], rcx
cmp word [rcx], di
jne 0x140047949
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 [0x1401bf820]
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 0x1400479a4
call qword [case.0x1400a07c7.0]
mov qword [rbp - 0x30], rax
jmp 0x1400479a8
mov qword [rbp - 0x30], rdi
mov rax, qword [0x1401bf808]
test rax, rax
je 0x1400479bf
lea rcx, [rsp + 0x50]
call qword [case.0x1400a07c7.0]
mov rax, qword [0x1401bf810]
test rax, rax
je 0x1400479e0
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a07c7.0]
mov rax, qword [0x1401bf818]
test rax, rax
je 0x1400479f7
lea rcx, [rsp + 0x50]
call qword [case.0x1400a07c7.0]
mov rax, qword [0x1401bf880]
test rax, rax
je 0x140047a15
test byte [rsp + 0x54], 2
jne 0x140047a15
lea rcx, [rsp + 0x50]
call qword [case.0x1400a07c7.0]
cmp dword [rsp + 0x58], edi
jge 0x140047b2c
cmp byte [0x1401bf7d0], dil
jne 0x140047a50
mov rax, qword [0x1401bf7c8]
test rax, rax
je 0x140047a3f
call qword [case.0x1400a07c7.0]
movzx ecx, al
jmp 0x140047a4c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
mov ecx, edi
setne cl
test ecx, ecx
je 0x140047abb
cmp byte [0x140177c90], dil
je 0x140047abb
test byte [rsp + 0x54], 2
jne 0x140047abb
mov rax, qword [0x1401bf7c0]
mov ebx, 0x800
test rax, rax
je 0x140047a8f
cmp byte [0x1401bf7f0], dil
jne 0x140047a8f
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call qword [case.0x1400a07c7.0]
cmp word [rbp + 0x3f0], di
jne 0x140047aac
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x3f0]
call fcn.14004873c
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140047ae0
mov rax, qword [0x1401bf7c0]
test rax, rax
je 0x140047ae0
cmp byte [0x1401bf7f0], dil
jne 0x140047ae0
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [case.0x1400a07c7.0]
test byte [rsp + 0x54], 4
jne 0x140047af0
cmp byte [0x1401bf7e0], dil
je 0x140047b02
mov rax, qword [0x1401bf830]
test rax, rax
je 0x140047b02
call qword [case.0x1400a07c7.0]
test byte [rsp + 0x54], 1
jne 0x140047b32
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x1508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14004aa1c
int3
lea rcx, [rsp + 0x50]
call fcn.14004a94c
int3