Function at 0x140003514
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [rsp + 0x110]
xor r10d, r10d
mov r14d, dword [rsp + 0xe0]
mov r13, r8
mov rsi, qword [rsp + 0x100]
mov r12d, edx
mov rdx, qword [rsp + 0xd0]
mov r15, rcx
mov r8, qword [rsp + 0xd8]
mov ebp, r10d
mov rbx, qword [rsp + 0x120]
mov ecx, r14d
mov edi, dword [rsp + 0xe8]
mov word [rsi], r10w
mov byte [rax], r10b
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rax
test r14d, r14d
je 0x1400035e5
sub ecx, 1
je 0x1400035dc
sub ecx, 1
je 0x1400035a6
cmp ecx, 1
jne 0x1400035ee
mov ecx, edi
call fcn.140002a60
jmp 0x1400035ec
test edi, edi
js 0x1400035d3
mov edi, 0x8007029c
mov rcx, r15
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], r8
mov r8, r13
mov qword [rsp + 0x20], rdx
mov edx, r12d
call fcn.140003990
mov ecx, edi
call fcn.140002a44
jmp 0x1400035ec
mov ecx, edi
call fcn.140002a28
jmp 0x1400035ec
mov ecx, edi
call fcn.140002a0c
mov ebp, eax
mov dword [rbx], r14d
mov eax, 1
mov dword [rbx + 4], edi
lock xadd dword [0x1400e93d0], eax
inc eax
xor edi, edi
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x14000361a
cmp word [rax], di
jne 0x14000361d
mov rax, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
xor edx, edx
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x18], eax
lea rcx, [rbx + 0x48]
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x48]
lea r8d, [rdx + 0x30]
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x38], r12d
mov dword [rbx + 0x3c], ebp
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x40], rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [0x1400e9348]
test rax, rax
je 0x140003681
call qword [str.___n_]
jmp 0x140003684
mov rax, rdi
mov qword [rbx + 0x78], rax
mov rax, qword [0x1400e92f8]
test rax, rax
je 0x1400036a8
mov rdx, qword [rsp + 0x58]
mov r8d, 0x400
mov rcx, rbx
call qword [str.___n_]
mov rax, qword [0x1400e92f0]
test rax, rax
je 0x1400036bd
mov rcx, rbx
call qword [str.___n_]
mov rax, qword [0x1400e9318]
test rax, rax
je 0x1400036d2
mov rcx, rbx
call qword [str.___n_]
cmp dword [rbx + 4], edi
jl 0x1400036e8
cmp r14d, 3
jne 0x1400037af
mov dword [rbx + 4], 0x8000ffff
cmp byte [0x1400e92b8], dil
jne 0x14000373e
mov rax, qword [0x1400e92a8]
test rax, rax
je 0x140003708
call qword [str.___n_]
movzx ecx, al
jmp 0x140003715
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
mov ecx, edi
setne cl
test ecx, ecx
jne 0x14000373e
mov rax, qword [0x1400e92c0]
test rax, rax
je 0x140003783
cmp byte [0x1400e92e0], dil
jne 0x140003783
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [str.___n_]
jmp 0x140003783
mov rax, qword [0x1400e92c0]
mov ebp, 0x800
test rax, rax
je 0x140003767
cmp byte [0x1400e92e0], dil
jne 0x140003767
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call qword [str.___n_]
cmp word [rsi], di
jne 0x14000377a
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400026cc
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x1400e92c8], dil
je 0x14000379e
mov rax, qword [0x1400e9300]
test rax, rax
je 0x14000379e
call qword [str.___n_]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140003c28
int3