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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xc0
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
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 + 0x58], eax
mov rax, qword [rdx + 0x50]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r12d
cmp byte [rcx + 0xa1], r12b
jne 0x180067ab8
cmp byte [r14 + 0x1f3], r12b
jne 0x180067ab8
mov r10, qword [rcx + 0x178]
test r10, r10
je 0x180067ab8
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 0x180067a8f
lea rdx, str.not_authorized
mov rcx, r14
call fcn.1800096d0
mov dword [r14 + 0x18], 0x17
jmp 0x180067f57
test eax, eax
je 0x180067ab8
cmp eax, 2
je 0x180067f57
lea rdx, str.authorizer_malfunction
mov rcx, r14
call fcn.1800096d0
mov dword [r14 + 0x18], 1
jmp 0x180067f57
mov qword [rsp + 0x108], rbx
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], r15
movsxd r15, dword [rbx + 0x78]
lea eax, [r15 + 1]
mov dword [rbx + 0x78], eax
lea eax, [r15 - 1]
test r15d, eax
jne 0x180067b0d
mov rdx, qword [rbx + 0x80]
lea eax, [r15*2 + 1]
mov rcx, qword [rbx]
movsxd r8, eax
shl r8, 2
call fcn.180006be0
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180067b21
mov dword [rcx + r15*4], 0xffffffff
mov eax, r15d
mov rdx, rdi
not eax
mov rcx, r14
mov r8d, eax
mov dword [rsp + 0x5c], eax
call fcn.1800674d0
mov rax, qword [rdi + 0x60]
mov edx, r12d
mov r13, qword [rdi + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x80], rax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x64], 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 + 0x60], eax
test r8, r8
jle 0x180067ba3
mov rcx, r12
lea rax, [rbp + 0x48]
nop
test byte [rax], 8
jne 0x180067b95
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x180067b80
jmp 0x180067ba3
mov eax, edx
imul rcx, rax, 0x78
mov eax, dword [rcx + rbp + 0x50]
mov dword [rsp + 0x50], eax
mov ebp, dword [r14 + 0x50]
lea eax, [rbp + 1]
mov dword [r14 + 0x50], eax
cmp byte [rdi + 8], 0x73
jne 0x180067bd0
test r13, r13
mov dword [rsp + 0x54], eax
mov ecx, 6
mov edx, 8
cmovne ecx, edx
inc eax
mov dword [r14 + 0x50], eax
jmp 0x180067be0
test r13, r13
mov ecx, 5
mov eax, 7
cmovne ecx, eax
inc dword [r14 + 0x54]
mov byte [rsp + 0x89], r12b
mov qword [rsp + 0x90], r12
mov r12d, dword [r14 + 0x54]
mov byte [rsp + 0x88], cl
mov dword [rsp + 0x8c], ebp
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x180067c1f
mov rcx, rsi
call fcn.180026b70
test eax, eax
jne 0x180067c55
inc dword [rsi + 0x3c]
lea rcx, [rbx + rbx*2]
mov rax, qword [rsi + 8]
xor ebx, ebx
mov edx, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x58]
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 0x180067c5c
mov r9d, dword [rsp + 0x58]
xor ebx, ebx
test r13, r13
je 0x180067cae
mov rdx, rdi
mov rcx, r14
call fcn.1800677e0
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.180026c20
mov r9d, 0xfffffffa
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180027200
xor ebx, ebx
mov qword [rsp + 0x98], r13
jmp 0x180067cc2
mov r8d, ebp
mov dword [rsp + 0x20], ebx
mov edx, 0x39
mov rcx, rsi
call fcn.180026c20
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x180067ce8
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, eax
mov rcx, rsi
lea edx, [r9 + 0x39]
call fcn.180026c20
mov dword [rdi + 0x14], eax
or word [rdi + 0xa], 8
mov qword [rdi + 0x48], rbx
lea r8, [rsp + 0x88]
mov rbx, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov qword [rbx + 0x58], 0
call fcn.18006c130
mov qword [rbx + 0x58], rdi
test eax, eax
jne 0x180067f1a
mov r9d, dword [rsp + 0x5c]
lea edx, [rax + 0x6c]
xor ebx, ebx
mov r8d, ebp
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180026c20
mov r8d, dword [rsp + 0x50]
lea edx, [rbx + 0x68]
xor r9d, r9d
mov dword [rsp + 0x54], eax
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180026c20
test r13, r13
je 0x180067d5d
mov r9d, dword [r13]
lea edx, [rbx + 0x2f]
inc r9d
jmp 0x180067d68
mov r9d, r12d
mov edx, 0x66
mov r12d, ebx
mov r8d, ebp
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026c20
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x5f]
call fcn.180026c20
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 0x180067dc8
mov rdx, qword [rbp + 0x80]
lea eax, [rbx*2 + 1]
mov rcx, qword [rbp]
movsxd r8, eax
shl r8, 2
call fcn.180006be0
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x180067ddb
mov dword [rcx + rbx*4], 0xffffffff
mov eax, dword [rsp + 0x60]
mov ebp, ebx
not ebp
test eax, eax
jle 0x180067e40
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8a
mov rcx, rsi
call fcn.180026c20
xor r8d, r8d
mov r12d, eax
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026c20
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x180067e36
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 + 0x70]
mov rdx, rdi
mov r12d, dword [rsp + 0x5c]
mov rcx, r14
mov r9d, dword [rsp + 0x50]
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.180065310
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x180067e9a
mov r9d, r12d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8b
mov rcx, rsi
call fcn.180026c20
mov r8, qword [rsi + 0x30]
test ebx, ebx
js 0x180067eb4
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180067eb4
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 + 0x88]
mov qword [rdi + 0x50], rbp
call fcn.18006c130
mov rax, qword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x54]
mov rcx, rsi
mov qword [rdi + 0x50], rax
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x10]
call fcn.180026c20
mov r8, qword [rsi + 0x30]
test r15d, r15d
js 0x180067f11
mov rcx, qword [r8 + 0x80]
test rcx, rcx
je 0x180067f11
mov eax, dword [rsi + 0x3c]
mov dword [rcx + 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.18003c610
mov rax, qword [rsp + 0x78]
mov r15, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x108]
mov qword [rdi + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x48], r13
mov r13, qword [rsp + 0xb8]
mov qword [rdi + 0x68], rax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0xc0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret