Function at 0x1400062c4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14000b110]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, r9
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x50], rdx
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x48], ebx
cmp dword [0x14000b3c8], ebx
je 0x140006329
lea rcx, [0x14000b3a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [rbx + 1]
mov dword [rsp + 0x48], esi
mov rax, qword [rsp + 0x1a8]
jmp 0x14000632e
mov esi, 1
movzx ecx, bx
mov word [0x14000c850], bx
cmp rax, rbx
je 0x1400063a4
lea r9, [rsp + 0x1b0]
mov dword [rsp + 0x58], ebx
mov r8, rax
mov edi, 0x3fc
mov rdx, rdi
lea r13, [0x14000c850]
mov rcx, r13
call qword [sym.imp.msvcrt.dll__vsnwprintf]
cmp eax, ebx
jl 0x14000637d
cdqe
cmp rax, rdi
ja 0x14000637d
cmp rax, rdi
jne 0x14000638c
mov word [0x14000d048], bx
jmp 0x14000638c
mov word [0x14000d048], bx
mov dword [rsp + 0x58], 0x8007007a
mov word [0x14000d04a], bx
mov qword [rsp + 0xc0], rbx
mov cx, word [0x14000c850]
jmp 0x1400063ab
lea r13, [0x14000c850]
cmp cx, bx
je 0x1400063ca
lea r8, [0x140002238]
mov r14d, 0x400
mov rdx, r14
mov rcx, r13
call fcn.140003d7c
jmp 0x1400063d0
mov r14d, 0x400
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov eax, r14d
sub eax, ecx
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x40]
mov edx, r14d
mov rcx, r13
call fcn.140004c60
cmp dword [r12 + 0x28], ebx
je 0x140006412
lea r8, [rsp + 0x40]
mov edx, r14d
mov rcx, r13
call fcn.140004e70
mov eax, dword [r12]
mov dword [rsp + 0xb0], eax
cmp eax, ebx
je 0x14000655b
mov r15d, 0x7ffffffe
mov r8, r15
mov qword [rsp + 0xa8], r15
lea r9, [0x140002578]
mov qword [rsp + 0x98], r9
mov edi, 0x81
mov rdx, rdi
mov qword [rsp + 0x80], rdx
lea rax, [0x14000baf0]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov qword [rsp + 0x68], rbx
cmp rdx, rbx
je 0x1400064b6
cmp r8, rbx
je 0x1400064b6
movzx r10d, word [r9]
cmp r10w, bx
je 0x1400064b6
mov word [rax], r10w
add rax, 2
mov qword [rsp + 0x70], rax
add r9, 2
mov qword [rsp + 0x98], r9
sub rdx, rsi
mov qword [rsp + 0x80], rdx
sub r8, rsi
mov qword [rsp + 0xa8], r8
add rcx, rsi
mov qword [rsp + 0x68], rcx
jmp 0x140006469
cmp rdx, rbx
jne 0x1400064cc
sub rax, 2
mov qword [rsp + 0x70], rax
sub rcx, rsi
mov qword [rsp + 0x68], rcx
mov word [rax], bx
lea rdx, [0x14000baf0]
mov ecx, 0x3a2
call fcn.140004bac
mov word [0x14000bbf2], bx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rax, [0x14000bbf2]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0xb0]
xor edx, edx
mov ecx, 0x1200
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rax, [0x14000bbf2]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb0]
lea r8, [0x14000baf0]
mov rdx, r14
lea rcx, [0x14000bd00]
call fcn.140003e48
lea r9, [rsp + 0x40]
mov r8, r13
mov edx, r14d
lea rcx, [0x14000bd00]
call fcn.140004c0c
jmp 0x140006566
mov edi, 0x81
mov r15d, 0x7ffffffe
cmp dword [r12], ebx
jne 0x140006573
cmp dword [r12 + 0x28], ebx
je 0x140006591
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, r14d
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
call fcn.140004f08
mov qword [rsp + 0xa0], r15
lea rdx, [0x1400026a0]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdi
lea rax, [0x14000baf0]
mov qword [rsp + 0x60], rax
mov rcx, rbx
mov qword [rsp + 0x78], rbx
cmp rdi, rbx
je 0x140006611
cmp r15, rbx
je 0x140006611
movzx r8d, word [rdx]
cmp r8w, bx
je 0x140006611
mov word [rax], r8w
add rax, 2
mov qword [rsp + 0x60], rax
add rdx, 2
mov qword [rsp + 0x88], rdx
sub rdi, rsi
mov qword [rsp + 0x90], rdi
sub r15, rsi
mov qword [rsp + 0xa0], r15
add rcx, rsi
mov qword [rsp + 0x78], rcx
jmp 0x1400065c4
cmp rdi, rbx
jne 0x140006627
sub rax, 2
mov qword [rsp + 0x60], rax
sub rcx, rsi
mov qword [rsp + 0x78], rcx
mov word [rax], bx
lea rdx, [0x14000baf0]
mov ecx, 0x3af
call fcn.140004bac
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x30], rdx
mov edx, 5
mov dword [rsp + 0x28], edx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 0x2d]
lea r8, [rsp + 0xb0]
lea rcx, [0x1400026f8]
call fcn.140004fcc
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [0x14000baf0]
mov rdx, r14
lea rcx, [0x14000bd00]
call fcn.140003e48
lea r9, [rsp + 0x40]
mov r8, r13
mov edx, r14d
lea rcx, [0x14000bd00]
call fcn.140004c0c
mov qword [rsp + 0xb0], r13
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], si
mov r9, qword [r12 + 0x20]
mov r8, qword [r12 + 0x18]
mov edx, dword [r12 + 8]
movzx ecx, word [r12 + 4]
call fcn.1400051c4
mov edx, dword [r12 + 8]
mov eax, 0xc0000000
and edx, eax
mov r15d, ebx
cmp edx, eax
cmove r15d, esi
cmp dword [rsp + 0x48], ebx
je 0x140006721
lea rcx, [0x14000b3a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [r12 + 0x28], ebx
je 0x1400067d4
cmp dword [r12 + 0x2c], ebx
je 0x1400067c8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, ebx
jne 0x14000674a
cmp byte [0x7ffe02d4], bl
je 0x1400067bc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
mov ecx, dword [r12]
mov dword [rsp + 0x38], ecx
mov r14d, dword [rsp + 0x44]
mov dword [rsp + 0x30], r14d
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
lea r8, [0x1400029b0]
mov edx, 0x3ff
lea rcx, [0x14000d050]
call fcn.140003e48
lea rcx, [0x140002a60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14000d050]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140002af0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400067de
mov rsi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x44]
jmp 0x1400067de
mov rsi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x44]
jmp 0x1400067de
mov rsi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x44]
cmp dword [r12 + 0x28], ebx
je 0x1400067ff
mov eax, dword [r12 + 0x2c]
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8d, r14d
mov rdx, rsi
mov rcx, r13
call fcn.140005d08
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400084d0
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret