Function at 0x180007820
Capabilities:
Print debug messages

Disassembly:
jmp 0x180007820
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.180019010
sub rsp, rax
mov rax, qword [0x18005c188]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov r12, r9
mov r15, r8
mov r14d, edx
mov rsi, rcx
mov r13, qword [rbp + 0x1470]
mov rcx, qword [rbp + 0x1478]
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov word [rbp + 0x3f0], bx
mov byte [rbp - 0x10], bl
mov rax, qword [rbp + 0x1480]
mov edi, dword [rax]
mov dword [rsp + 0x58], edi
mov eax, dword [rax + 4]
mov dword [rsp + 0x5c], eax
test edi, edi
js 0x1800078c0
mov edi, 0x8007029c
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
mov rcx, rsi
call fcn.1800071d0
mov dword [rsp + 0x58], edi
mov ecx, edi
call fcn.180009060
mov dword [rsp + 0x5c], eax
mov ecx, edi
call fcn.180009590
mov edi, eax
mov dword [rsp + 0x50], 2
mov ecx, ebx
mov eax, 8
mov rdx, qword [rbp + 0x1480]
cmp byte [rdx + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x54], ecx
mov ecx, 1
lock xadd dword [0x18005d9b4], ecx
inc ecx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x1488]
test rcx, rcx
je 0x180007912
cmp word [rcx], bx
mov qword [rsp + 0x68], rcx
jne 0x180007917
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x6c], edi
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x68], xmm1
movups xmmword [rbp - 0x58], xmm1
mov rax, qword [0x18005d8d0]
test rax, rax
je 0x18000796e
call rax
mov qword [rbp - 0x30], rax
jmp 0x180007972
mov qword [rbp - 0x30], rbx
mov rax, qword [0x18005d8b8]
test rax, rax
je 0x180007985
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18005d8c0]
test rax, rax
je 0x1800079a2
mov r8d, 0x400
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18005d8c8]
test rax, rax
je 0x1800079b5
lea rcx, [rsp + 0x50]
call rax
mov rax, qword [0x18005d930]
test rax, rax
je 0x1800079cf
test byte [rsp + 0x54], 2
jne 0x1800079cf
lea rcx, [rsp + 0x50]
call rax
cmp dword [rsp + 0x58], ebx
jge 0x180007ae0
cmp byte [0x18005d880], bl
jne 0x180007a03
mov rax, qword [0x18005d878]
test rax, rax
je 0x1800079f4
call rax
movzx ebx, al
jmp 0x1800079ff
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne bl
test ebx, ebx
je 0x180007a6b
cmp byte [0x18005c0d4], 0
je 0x180007a6b
test byte [rsp + 0x54], 2
jne 0x180007a6b
mov rax, qword [0x18005d870]
test rax, rax
je 0x180007a3c
cmp byte [0x18005d8a0], 0
jne 0x180007a3c
mov r8d, 0x800
lea rdx, [rbp + 0x3f0]
lea rcx, [rsp + 0x50]
call rax
cmp word [rbp + 0x3f0], 0
jne 0x180007a5c
lea r8, [rsp + 0x50]
mov edx, 0x800
lea rcx, [rbp + 0x3f0]
call fcn.180008820
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180007a8c
mov rax, qword [0x18005d870]
test rax, rax
je 0x180007a8c
cmp byte [0x18005d8a0], 0
jne 0x180007a8c
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call rax
test byte [rsp + 0x54], 4
jne 0x180007a9c
cmp byte [0x18005d890], 0
je 0x180007aab
mov rax, qword [0x18005d8e0]
test rax, rax
je 0x180007aab
call rax
nop
test byte [rsp + 0x54], 1
jne 0x180007ad5
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.180018fa0
add rsp, 0x1508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x50]
call fcn.18000ac50
nop
call fcn.18000ad90
nop
int3