Function at 0x18000dfe0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebp, dword [rsp + 0xb0]
mov r13, r8
mov r14, qword [rsp + 0xd0]
xor r8d, r8d
mov r15, qword [rsp + 0xe0]
mov r12, r9
mov edi, dword [rsp + 0xb8]
mov esi, r8d
mov r10d, ebp
mov word [r14], r8w
mov byte [r15], r8b
test ebp, ebp
je 0x180037a3d
sub r10d, 1
jne 0x1800379dc
mov ecx, edi
call fcn.18000e350
mov esi, eax
mov rbx, qword [rsp + 0xf0]
mov dword [rbx + 4], edi
mov edi, 1
mov eax, edi
mov dword [rbx], ebp
lock xadd dword [0x180122fdc], eax
add eax, edi
xor ecx, ecx
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
jne 0x180037a4a
mov rax, rcx
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rbx + 0x3c], esi
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x18], eax
xor esi, esi
mov eax, dword [rsp + 0x88]
xor edx, edx
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x20], rax
lea r8d, [rsi + 0x30]
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x40], rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [0x180122f68]
test rax, rax
je 0x180037a64
lea rcx, [fcn.18000e310]
cmp rax, rcx
jne 0x180037a58
call fcn.18000e310
mov qword [rbx + 0x78], rax
mov rax, qword [0x180122f58]
test rax, rax
je 0x18000e13a
lea rcx, [fcn.18000e240]
mov r8d, 0x400
cmp rax, rcx
mov rdx, r15
mov rcx, rbx
jne 0x180037a6c
call fcn.18000e240
mov rax, qword [0x180122f50]
test rax, rax
je 0x18000e15e
lea rcx, [fcn.18000e1f0]
cmp rax, rcx
mov rcx, rbx
jne 0x180037a78
call fcn.18000e1f0
mov rax, qword [0x1801238f0]
test rax, rax
jne 0x180037a84
cmp dword [rbx + 4], esi
jge 0x180037a93
cmp byte [0x1801238c8], sil
jne 0x18000e1a4
mov rax, qword [0x1801238c0]
test rax, rax
jne 0x180037aaa
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
mov ecx, esi
setne cl
test ecx, ecx
jne 0x18000e1a4
mov dil, sil
cmp byte [rsp + 0xc8], sil
jne 0x180037ad9
test dil, dil
jne 0x180037ad9
mov rax, qword [0x1801238d0]
test rax, rax
jne 0x180037ab8
cmp byte [0x1801238d8], sil
jne 0x180037b2e
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub r10d, 1
je 0x1800379f9
cmp r10d, 1
jne 0x18000e04c
mov ecx, edi
call fcn.180011df0
nop
jmp 0x18000e04a
test edi, edi
js 0x180037a30
mov rax, qword [rsp + 0xa8]
mov edi, 0x8007029c
mov dword [rsp + 0x38], edi
mov r8, r13
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.18000dee0
mov ecx, edi
call fcn.18003d108
nop
jmp 0x18000e04a
mov ecx, edi
call fcn.18003d0f0
nop
jmp 0x18000e04a
cmp word [rax], cx
jne 0x18000e083
jmp 0x18000e080
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e109
mov rax, rsi
jmp 0x18000e109
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e13a
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e15e
mov rcx, rbx
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e16e
cmp ebp, 3
je 0x180037a9e
call fcn.18003d4e0
int3
mov dword [rbx + 4], 0x8000ffff
jmp 0x18000e177
call qword [case.0x1800248fe.0]
movzx ecx, al
jmp 0x18000e19d
cmp byte [0x1801238d9], sil
jne 0x18000e1cb
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e1cb
mov rax, qword [0x1801238d0]
mov ebp, 0x800
test rax, rax
je 0x180037b02
cmp byte [0x1801238d9], sil
jne 0x180037b02
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [case.0x1800248fe.0]
cmp word [r14], si
jne 0x180037b16
mov r8, rbx
mov rdx, rbp
mov rcx, r14
call fcn.18003cadc
test dil, dil
je 0x18000e1cb
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop
jmp 0x18000e1cb
mov rax, qword [0x180122f60]
test rax, rax
je 0x18000e1d8
call qword [case.0x1800248fe.0]
nop
jmp 0x18000e1d8