Function at 0x18012f5c0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
xor r14d, r14d
mov ebp, r14d
mov dword [rsp + 0xb8], r14d
cmp r8d, 2
jl 0x18012f60b
lea eax, [r14 + 1]
jmp 0x18012f840
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x40]
call fcn.18012da70
nop
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
cmp r13, r12
je 0x18012f734
lea r14, [r13 + 0x38]
nop dword [rax]
mov eax, dword [r14 - 0xc]
dec eax
cmp eax, 1
jbe 0x18012f719
cmp dword [r14 - 0x38], 0
je 0x18012f719
lea r9d, [rbx + 1]
lea r8, [r14 - 0x38]
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.18012fb10
test eax, eax
je 0x18012f719
mov dword [rsp + 0xb8], 1
mov rbx, qword [rsp + 0x28]
cmp rbx, qword [rsp + 0x30]
je 0x18012f712
lea rdi, [rbx + 0x30]
mov rbx, qword [rsi]
cmp rbx, qword [rsi + 8]
je 0x18012f6ba
nop
lea rdx, [rdi - 0x30]
mov rcx, rbx
call fcn.1800e2160
test al, al
jne 0x18012f6c6
add rbx, 0x48
cmp rbx, qword [rsi + 8]
jne 0x18012f6a0
lea rdx, [rdi - 0x30]
mov rcx, rsi
call fcn.1800e7d60
mov rcx, qword [r14]
sub rcx, qword [r14 - 8]
sar rcx, 7
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
sar rdx, 7
lea rax, [rcx - 1]
cmp rdx, rax
ja 0x18012f703
sub ecx, edx
mov eax, dword [rdi - 0x30]
sub eax, dword [r14 - 0x38]
add eax, ecx
cmp eax, ecx
jg 0x18012f703
lea r8, [r14 - 0x38]
mov rdx, rsi
mov rcx, r15
call fcn.18013b960
add rdi, 0x48
lea rax, [rdi - 0x30]
cmp rax, qword [rsp + 0x30]
jne 0x18012f696
mov ebx, dword [rsp + 0xb0]
add r14, 0x48
lea rax, [r14 - 0x38]
cmp rax, r12
jne 0x18012f640
mov ebp, dword [rsp + 0xb8]
xor r14d, r14d
test r13, r13
je 0x18012f7af
cmp r13, r12
je 0x18012f7a6
lea rbx, [r13 + 0x38]
lea rcx, [0x1801f3ee0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbx - 8]
test rdx, rdx
je 0x18012f778
mov r8, qword [rbx]
lea rcx, [rbx - 8]
call fcn.1800e7210
mov rcx, qword [rbx - 8]
call fcn.1800b5354
mov qword [rbx - 8], r14
mov qword [rbx], r14
mov qword [rbx + 8], r14
cmp qword [rbx - 0x18], 8
jb 0x18012f788
mov rcx, qword [rbx - 0x30]
call fcn.1800b5354
mov qword [rbx - 0x18], 7
mov qword [rbx - 0x20], r14
mov word [rbx - 0x30], r14w
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, r12
jne 0x18012f742
mov rcx, r13
call fcn.1800b5354
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x18012f83e
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
je 0x18012f834
add rbx, 0x38
nop dword [rax + rax]
lea rcx, [0x1801f3ee0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbx - 8]
test rdx, rdx
je 0x18012f806
mov r8, qword [rbx]
lea rcx, [rbx - 8]
call fcn.1800e7210
mov rcx, qword [rbx - 8]
call fcn.1800b5354
mov qword [rbx - 8], r14
mov qword [rbx], r14
mov qword [rbx + 8], r14
cmp qword [rbx - 0x18], 8
jb 0x18012f816
mov rcx, qword [rbx - 0x30]
call fcn.1800b5354
mov qword [rbx - 0x18], 7
mov qword [rbx - 0x20], r14
mov word [rbx - 0x30], r14w
add rbx, 0x48
lea rcx, [rbx - 0x38]
cmp rcx, rsi
jne 0x18012f7d0
mov rcx, qword [rsp + 0x28]
call fcn.1800b5354
mov eax, ebp
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret