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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x180357660]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, rcx
mov dword [rsp + 0x50], r8d
imul ecx, r8d, 0x3fc
mov rsi, r9
mov rbx, rdx
mov r13d, r8d
mov dword [rsp + 0x40], ecx
cmp r8d, ecx
ja 0x18006ab5c
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x58]
nop dword [rax + rax]
cmp r13d, 0x2097
ja 0x18006ab2c
je 0x18006aae2
cmp r13d, 5
je 0x18006aada
cmp r13d, 0x51
je 0x18006aad2
cmp r13d, 0xfb
je 0x18006aaba
cmp r13d, 0x203
je 0x18006aaa9
cmp r13d, 0x401
jne 0x18006acb7
movsxd rdx, dword [rbx + 0x54]
test edx, edx
je 0x18006a77d
movsxd rcx, dword [rsi]
lea eax, [rcx + rdx]
cmp eax, 0x40
jge 0x18006a77d
mov r8, rcx
lea rcx, [rbx + 0x14]
add rcx, rdx
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi]
add dword [rbx + 0x54], eax
jmp 0x18006acb3
mov ecx, dword [rsi]
lea eax, [rcx + rdx]
cmp eax, 0x40
jl 0x18006aa90
nop dword [rax + rax]
mov edi, 0x21
cmp edi, 0x21
je 0x18006aa41
cmp edi, 0x19a7
je 0x18006aa37
cmp edi, 0x332d
je 0x18006a7ed
cmp edi, 0x4cb3
je 0x18006a7d2
cmp edi, 0x6639
jne 0x18006aa6e
mov dword [rbx + 0x54], 0
jmp 0x18006aa6e
mov r9d, 0xee
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
call fcn.180018c30
jmp 0x18006aa6e
movzx eax, byte [rbx + 0x14]
movzx ecx, byte [rbx + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [rbx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x19]
mov dword [rsp + 0x60], ecx
movzx ecx, byte [rbx + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1d]
mov dword [rsp + 0x64], ecx
movzx ecx, byte [rbx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x21]
mov dword [rsp + 0x68], ecx
movzx ecx, byte [rbx + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x25]
mov dword [rsp + 0x6c], ecx
movzx ecx, byte [rbx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x29]
mov dword [rsp + 0x70], ecx
movzx ecx, byte [rbx + 0x28]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x2a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x2d]
mov dword [rsp + 0x74], ecx
movzx ecx, byte [rbx + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x31]
mov dword [rsp + 0x78], ecx
movzx ecx, byte [rbx + 0x30]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x32]
or ecx, eax
movzx eax, byte [rbx + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x35]
mov dword [rsp + 0x7c], ecx
movzx ecx, byte [rbx + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x39]
mov dword [rsp + 0x80], ecx
movzx ecx, byte [rbx + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x3d]
mov dword [rsp + 0x84], ecx
movzx ecx, byte [rbx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x3f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x41]
mov dword [rsp + 0x88], ecx
movzx ecx, byte [rbx + 0x40]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x42]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x43]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x45]
mov dword [rsp + 0x8c], ecx
movzx ecx, byte [rbx + 0x44]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x46]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x47]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x49]
mov dword [rsp + 0x90], ecx
movzx ecx, byte [rbx + 0x48]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x4a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x4b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x4d]
mov dword [rsp + 0x94], ecx
movzx ecx, byte [rbx + 0x4c]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x4e]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rbx + 0x4f]
or ecx, eax
movzx eax, byte [rbx + 0x51]
mov dword [rsp + 0x98], ecx
movzx ecx, byte [rbx + 0x50]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0x53]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x9c], ecx
jmp 0x18006aa6e
mov eax, dword [rbx + 0x54]
sub eax, 0x40
add dword [rsi], eax
jmp 0x18006aa6e
movsxd rcx, dword [rbx + 0x54]
mov eax, 0x40
sub eax, ecx
mov rdx, rbp
movsxd r8, eax
mov rax, rcx
lea rcx, [rbx + 0x14]
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x40
sub eax, dword [rbx + 0x54]
cdqe
add rbp, rax
add edi, 0x1986
cmp edi, 0x7f9e
jbe 0x18006a795
mov eax, dword [rbx + 0x54]
mov ecx, dword [rsi]
add eax, ecx
cmp eax, 0x40
jge 0x18006a790
movsxd r8, ecx
mov rdx, rbp
lea rcx, [rbx + 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi]
mov dword [rbx + 0x54], eax
jmp 0x18006acb3
mov eax, dword [rsi]
add dword [rbx + 0x5c], eax
cmp dword [rbx + 0x5c], eax
adc dword [rbx + 0x58], 0
jmp 0x18006acb7
mov rax, qword [rbx + 0x88]
mov qword [rsp + 0x58], rax
mov dword [rbx + 0x78], 0
jmp 0x18006acb7
xor r15d, r15d
jmp 0x18006acb7
mov rbp, r14
jmp 0x18006acb7
mov r12, qword [rbx]
cmp r12, qword [rbx + 8]
jae 0x18006acb7
nop
cmp qword [r12], 0
je 0x18006ab1d
mov rdi, r12
nop word [rax + rax]
mov rcx, qword [rdi]
mov rdx, rsi
call qword [r14]
test al, al
je 0x18006ace3
mov rdi, qword [rdi + 8]
inc r15
test rdi, rdi
jne 0x18006ab00
add r12, 0x10
cmp r12, qword [rbx + 8]
jb 0x18006aaf0
jmp 0x18006acb3
cmp r13d, 0x40dd
je 0x18006ace3
cmp r13d, 0x64fd
je 0x18006ac38
cmp r13d, 0xc8ff
je 0x18006ab8c
cmp r13d, 0x12d01
jne 0x18006acb7
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800bfa40
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r14, r14
je 0x18006ac2e
mov r12d, 2
nop dword [rax + rax]
cmp r12d, 2
je 0x18006abbe
cmp r12d, 0x2e
jne 0x18006ac1c
mov rax, qword [rbx + 0x40]
mov qword [r14 + 0x18], rax
mov rax, qword [rbx + 0x48]
mov qword [r14 + 0x20], rax
jmp 0x18006ac1c
mov edx, 0x59
mov rcx, rbx
call fcn.1800a8cb0
test eax, eax
jne 0x18006accd
xor eax, eax
lea r8, [rbx + 8]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov edx, SHTestTokenMembership
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.18006cc60
xor r9d, r9d
mov qword [r14], rax
xor r8d, r8d
lea rcx, [rbx + 8]
mov edx, SHSetInstanceExplorer
call fcn.18008a7e0
mov dword [r14 + 8], eax
mov dword [r14 + 0xc], 0
mov eax, dword [rbx + 0x3c]
mov dword [r14 + 0x10], eax
add r12d, 0x2c
cmp r12d, 0x58
jbe 0x18006aba0
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x48], 0
jmp 0x18006acb7
mov rdi, qword [rsp + 0x58]
mov r12d, ILClone
add rdi, 0x10
mov qword [rbx + 0x7c], 0
mov dword [rbx + 0x84], 0
nop dword [rax]
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x6a
call fcn.1800072c0
lea rdi, [rdi + 8]
sub r12, 1
jne 0x18006ac60
lea r9d, [r12 + 0x5a]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.180090350
test eax, eax
jne 0x18006acda
mov ecx, dword [rsp + 0x40]
imul eax, dword [rsp + 0x50], 0x66
add r13d, eax
cmp r13d, ecx
jbe 0x18006a700
jmp 0x18006ab5c
mov dword [rsp + 0x48], 0xffffff7d
jmp 0x18006ab5c
mov dword [rsp + 0x48], eax
jmp 0x18006ab5c
mov rax, r15
jmp 0x18006ab61