Function at 0x180067bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xb0
mov rax, qword [rdx]
xor r12d, r12d
mov rsi, qword [rcx + 0x10]
mov r14, rcx
mov rcx, qword [rcx]
mov rdi, rdx
mov rbp, qword [rdx + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
mov rax, qword [rdx + 0x50]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe0], r12d
mov dword [rsp + 0xf8], r12d
cmp byte [rcx + 0xa1], r12b
jne 0x180067cba
cmp byte [r14 + 0x1f3], r12b
jne 0x180067cba
mov r10, qword [rcx + 0x178]
test r10, r10
je 0x180067cba
mov rax, qword [r14 + 0x230]
lea edx, [r12 + 0x21]
mov rcx, qword [rcx + 0x180]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r12
call r10
cmp eax, 1
jne 0x180067c87
lea rdx, str.not_authorized
mov rcx, r14
call fcn.1800085c0
mov dword [r14 + 0x18], 0x17
add rsp, 0xb0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
test eax, eax
je 0x180067cba
cmp eax, 2
je 0x180068166
lea rdx, str.authorizer_malfunction
mov rcx, r14
call fcn.1800085c0
mov dword [r14 + 0x18], 1
add rsp, 0xb0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xa8], rbx
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x98], r15
movsxd r15, dword [rbx + 0x78]
lea eax, [r15 + 1]
mov dword [rbx + 0x78], eax
lea eax, [r15 - 1]
test r15d, eax
jne 0x180067d0f
mov rdx, qword [rbx + 0x80]
lea eax, [r15*2 + 1]
mov rcx, qword [rbx]
movsxd r8, eax
shl r8, 2
call fcn.180005b90
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180067d23
mov dword [rcx + r15*4], 0xffffffff
mov eax, r15d
mov rdx, rdi
not eax
mov rcx, r14
mov r8d, eax
mov dword [rsp + 0x50], eax
call fcn.1800676e0
mov rax, qword [rdi + 0x60]
mov edx, r12d
mov r13, qword [rdi + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x70], rax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x58], eax
mov eax, dword [rdi + 0x10]
mov qword [rdi + 0xc], r12
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x60], r12
movsxd r8, dword [rbp]
mov dword [rsp + 0x54], eax
test r8, r8
jle 0x180067da6
mov rcx, r12
lea rax, [rbp + 0x48]
nop dword [rax]
test byte [rax], 8
jne 0x180067d95
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x180067d80
jmp 0x180067da6
mov eax, edx
imul rcx, rax, 0x78
mov eax, dword [rcx + rbp + 0x50]
mov dword [rsp + 0xe0], eax
mov ebp, dword [r14 + 0x50]
lea eax, [rbp + 1]
mov dword [r14 + 0x50], eax
cmp byte [rdi + 8], 0x73
jne 0x180067dd6
test r13, r13
mov dword [rsp + 0xf8], eax
mov ecx, 6
mov edx, 8
cmovne ecx, edx
inc eax
mov dword [r14 + 0x50], eax
jmp 0x180067de6
test r13, r13
mov ecx, 5
mov eax, 7
cmovne ecx, eax
inc dword [r14 + 0x54]
mov byte [rsp + 0x79], r12b
mov qword [rsp + 0x80], r12
mov r12d, dword [r14 + 0x54]
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ebp
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180067e1c
mov rcx, rsi
call fcn.180026070
test eax, eax
jne 0x180067e58
inc dword [rsi + 0x3c]
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
xor ebx, ebx
mov edx, dword [rsp + 0xe0]
mov r9d, dword [rsp + 0xe8]
mov word [rax + rcx*8], 0x3c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], rbx
jmp 0x180067e62
mov r9d, dword [rsp + 0xe8]
xor ebx, ebx
test r13, r13
je 0x180067eb4
mov rdx, rdi
mov rcx, r14
call fcn.1800679d0
mov r9d, dword [r13]
mov r8d, ebp
add r9d, 2
mov dword [rsp + 0x20], 0
mov edx, 0x39
mov rcx, rsi
mov rbx, rax
call fcn.180026120
mov r9d, 0xfffffffa
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026760
xor ebx, ebx
mov qword [rsp + 0x88], r13
jmp 0x180067ec8
mov r8d, ebp
mov dword [rsp + 0x20], ebx
mov edx, 0x39
mov rcx, rsi
call fcn.180026120
mov eax, dword [rsp + 0xf8]
test eax, eax
je 0x180067ef1
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, eax
mov rcx, rsi
lea edx, [r9 + 0x39]
call fcn.180026120
mov dword [rdi + 0x14], eax
or word [rdi + 0xa], 8
mov qword [rdi + 0x48], rbx
lea r8, [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
mov qword [rbx + 0x58], 0
call fcn.18006c3a0
mov qword [rbx + 0x58], rdi
test eax, eax
jne 0x18006812c
mov r9d, dword [rsp + 0x50]
lea edx, [rax + 0x6c]
xor ebx, ebx
mov r8d, ebp
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180026120
mov r8d, dword [rsp + 0xe0]
lea edx, [rbx + 0x68]
xor r9d, r9d
mov dword [rsp + 0xe8], eax
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180026120
test r13, r13
je 0x180067f69
mov r9d, dword [r13]
lea edx, [rbx + 0x2f]
inc r9d
jmp 0x180067f74
mov r9d, r12d
mov edx, 0x66
mov r12d, ebx
mov r8d, ebp
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026120
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x5f]
call fcn.180026120
mov rbp, qword [rsi + 0x30]
movsxd rbx, dword [rbp + 0x78]
lea eax, [rbx + 1]
mov dword [rbp + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x180067fd4
mov rdx, qword [rbp + 0x80]
lea eax, [rbx*2 + 1]
mov rcx, qword [rbp]
movsxd r8, eax
shl r8, 2
call fcn.180005b90
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x180067fe7
mov dword [rcx + rbx*4], 0xffffffff
mov eax, dword [rsp + 0x54]
mov ebp, ebx
not ebp
test eax, eax
jle 0x18006804c
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8a
mov rcx, rsi
call fcn.180026120
xor r8d, r8d
mov r12d, eax
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026120
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x180068042
mov rax, qword [rsi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xf0]
mov rdx, rdi
mov r12d, dword [rsp + 0x50]
mov rcx, r14
mov r9d, dword [rsp + 0xe0]
mov r8, qword [rdi]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], ebp
xor ebp, ebp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.180065490
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1800680ac
mov r9d, r12d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8b
mov rcx, rsi
call fcn.180026120
mov r8, qword [rsi + 0x30]
test ebx, ebx
js 0x1800680c6
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1800680c6
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rbx*4], eax
mov eax, dword [rsi + 0x3c]
mov rdx, rdi
dec eax
mov rcx, r14
mov dword [r8 + 0x64], eax
lea r8, [rsp + 0x78]
mov qword [rdi + 0x50], rbp
call fcn.18006c3a0
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov r9d, dword [rsp + 0xe8]
mov rcx, rsi
mov qword [rdi + 0x50], rax
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x10]
call fcn.180026120
mov r8, qword [rsi + 0x30]
test r15d, r15d
js 0x180068123
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180068123
mov eax, dword [rsi + 0x3c]
mov dword [rdx + r15*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov rdx, qword [rdi + 0x48]
mov rcx, qword [r14]
call fcn.18003bb60
mov rax, qword [rsp + 0x68]
mov r15, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa8]
mov qword [rdi + 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x48], r13
mov r13, qword [rsp + 0xa0]
mov qword [rdi + 0x68], rax
add rsp, 0xb0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret