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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xc0
mov rax, qword [0x180128010]
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 0x1800676e8
cmp byte [r14 + 0x1f3], r12b
jne 0x1800676e8
mov r10, qword [rcx + 0x178]
test r10, r10
je 0x1800676e8
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 0x1800676bf
lea rdx, str.not_authorized
mov rcx, r14
call fcn.180008fe0
mov dword [r14 + 0x18], 0x17
jmp 0x180067b88
test eax, eax
je 0x1800676e8
cmp eax, 2
je 0x180067b88
lea rdx, str.authorizer_malfunction
mov rcx, r14
call fcn.180008fe0
mov dword [r14 + 0x18], 1
jmp 0x180067b88
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 0x18006773d
mov rdx, qword [rbx + 0x80]
lea eax, [r15*2 + 1]
mov rcx, qword [rbx]
movsxd r8, eax
shl r8, 2
call fcn.180006500
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x180067751
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.180067100
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 0x1800677d4
mov rcx, r12
lea rax, [rbp + 0x48]
nop
test byte [rax], 8
jne 0x1800677c5
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x1800677b0
jmp 0x1800677d4
movsxd rax, 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 0x180067801
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 0x180067811
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 0x180067850
mov rcx, rsi
call fcn.1800264d0
test eax, eax
jne 0x180067886
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 0x18006788d
mov r9d, dword [rsp + 0x58]
xor ebx, ebx
test r13, r13
je 0x1800678df
mov rdx, rdi
mov rcx, r14
call fcn.180067410
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.180026580
mov r9d, 0xfffffffa
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.180026b60
xor ebx, ebx
mov qword [rsp + 0x98], r13
jmp 0x1800678f3
mov r8d, ebp
mov dword [rsp + 0x20], ebx
mov edx, 0x39
mov rcx, rsi
call fcn.180026580
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x180067919
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, eax
mov rcx, rsi
lea edx, [r9 + 0x39]
call fcn.180026580
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.18006bd90
mov qword [rbx + 0x58], rdi
test eax, eax
jne 0x180067b4b
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.180026580
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.180026580
test r13, r13
je 0x18006798e
mov r9d, dword [r13]
lea edx, [rbx + 0x2f]
inc r9d
jmp 0x180067999
mov r9d, r12d
mov edx, 0x66
mov r12d, ebx
mov r8d, ebp
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026580
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x5f]
call fcn.180026580
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 0x1800679f9
mov rdx, qword [rbp + 0x80]
lea eax, [rbx*2 + 1]
mov rcx, qword [rbp]
movsxd r8, eax
shl r8, 2
call fcn.180006500
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x180067a0c
mov dword [rcx + rbx*4], 0xffffffff
mov eax, dword [rsp + 0x60]
mov ebp, ebx
not ebp
test eax, eax
jle 0x180067a71
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8a
mov rcx, rsi
call fcn.180026580
xor r8d, r8d
mov r12d, eax
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026580
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x180067a67
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.180064f50
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x180067acb
mov r9d, r12d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, eax
mov edx, 0x8b
mov rcx, rsi
call fcn.180026580
mov r8, qword [rsi + 0x30]
test ebx, ebx
js 0x180067ae5
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180067ae5
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.18006bd90
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.180026580
mov r8, qword [rsi + 0x30]
test r15d, r15d
js 0x180067b42
mov rcx, qword [r8 + 0x80]
test rcx, rcx
je 0x180067b42
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.18003c1d0
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.1800ce4d0
add rsp, 0xc0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret