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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rdx]
mov r10d, dword [rdx + 4]
mov r11d, dword [rdx + 8]
mov ebx, dword [rdx + 0xc]
mov dword [rsp + 0x98], edi
add r8, 2
lea rdx, [rsp]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
nop dword [rax + rax]
movzx eax, byte [r8]
movzx ecx, byte [r8 + 1]
add rdx, 4
shl ecx, 8
add r8, 4
or ecx, eax
movzx eax, byte [r8 - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 - 6]
shl ecx, 8
or ecx, eax
sub r9, 1
mov dword [rdx - 4], ecx
jne 0x18007f3d0
mov r15d, dword [rsp + 0x14]
mov r12d, dword [rsp + 0x1c]
mov ecx, r10d
not ecx
mov eax, r11d
and ecx, ebx
and eax, r10d
or ecx, eax
mov eax, r10d
add ecx, dword [rsp]
lea edx, [rcx + rdi - 0x28955b88]
rol edx, 7
add edx, r10d
and eax, edx
mov ecx, edx
not ecx
and ecx, r11d
or ecx, eax
add ecx, dword [rsp + 4]
lea r8d, [rcx + rbx - 0x173848aa]
rol r8d, 0xc
add r8d, edx
mov ecx, r8d
mov eax, r8d
not ecx
and eax, edx
and ecx, r10d
or ecx, eax
mov eax, r8d
add ecx, dword [rsp + 8]
lea r9d, [rcx + r11 + 0x242070db]
ror r9d, 0xf
add r9d, r8d
and eax, r9d
mov ecx, r9d
not ecx
and ecx, edx
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0xc]
lea r10d, [rcx + r10 - 0x3e423112]
ror r10d, 0xa
add r10d, r9d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, r8d
or ecx, eax
mov eax, r10d
add ecx, dword [rsp + 0x10]
lea r11d, [rcx + rdx - 0xa83f051]
rol r11d, 7
add r11d, r10d
and eax, r11d
mov ecx, r11d
not ecx
and ecx, r9d
or ecx, eax
add ecx, r15d
lea edx, [rcx + r8 + 0x4787c62a]
rol edx, 0xc
add edx, r11d
mov ecx, edx
mov eax, edx
not ecx
and eax, r11d
and ecx, r10d
or ecx, eax
mov eax, edx
add ecx, dword [rsp + 0x18]
lea r8d, [rcx + r9 - 0x57cfb9ed]
ror r8d, 0xf
add r8d, edx
and eax, r8d
mov ecx, r8d
not ecx
and ecx, r11d
or ecx, eax
add ecx, r12d
lea r9d, [rcx + r10 - 0x2b96aff]
ror r9d, 0xa
mov r13d, dword [rsp + 0x28]
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x34]
mov esi, dword [rsp + 0x38]
add r9d, r8d
mov eax, r8d
and eax, r9d
mov ecx, r9d
not ecx
and ecx, edx
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0x20]
lea r10d, [rcx + r11 + 0x698098d8]
rol r10d, 7
add r10d, r9d
and eax, r10d
mov ecx, r10d
not ecx
and ecx, r8d
or ecx, eax
add ecx, dword [rsp + 0x24]
lea edx, [rcx + rdx - 0x74bb0851]
rol edx, 0xc
add edx, r10d
mov ecx, edx
mov eax, edx
not ecx
and eax, r10d
and ecx, r9d
or ecx, eax
mov eax, edx
add ecx, r13d
lea edi, [rcx + r8 - 0xa44f]
ror edi, 0xf
add edi, edx
and eax, edi
mov ecx, edi
not ecx
and ecx, r10d
or ecx, eax
mov eax, edi
add ecx, dword [rsp + 0x2c]
lea r9d, [rcx + r9 - 0x76a32842]
ror r9d, 0xa
add r9d, edi
and eax, r9d
mov ecx, r9d
not ecx
and ecx, edx
or ecx, eax
mov eax, r9d
add ecx, ebp
lea r11d, [rcx + r10 + 0x6b901122]
rol r11d, 7
add r11d, r9d
and eax, r11d
mov ecx, r11d
not ecx
and ecx, edi
or ecx, eax
add ecx, r14d
lea ebx, [rcx + rdx - 0x2678e6d]
rol ebx, 0xc
add ebx, r11d
mov r8d, ebx
mov eax, ebx
and eax, r11d
not r8d
mov ecx, r8d
and ecx, r9d
or ecx, eax
mov eax, ebx
add ecx, esi
lea r10d, [rcx + rdi - 0x5986bc72]
ror r10d, 0xf
add r10d, ebx
mov edx, r10d
not edx
mov ecx, edx
and ecx, r11d
mov edi, dword [rsp + 0x3c]
and eax, r10d
and r8d, r10d
or ecx, eax
mov eax, ebx
add ecx, edi
lea r9d, [rcx + r9 + 0x49b40821]
mov ecx, dword [rsp + 4]
ror r9d, 0xa
add r9d, r10d
and eax, r9d
and edx, r9d
or r8d, eax
mov eax, r10d
add r8d, ecx
mov ecx, r9d
not ecx
lea r11d, [r8 + r11 - 0x9e1da9e]
rol r11d, 5
add r11d, r9d
and ecx, r11d
and eax, r11d
or edx, eax
add edx, dword [rsp + 0x18]
lea r8d, [rdx + rbx - 0x3fbf4cc0]
rol r8d, 9
add r8d, r11d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [rsp + 0x2c]
lea edx, [rcx + r10 + 0x265e5a51]
mov ecx, r11d
not ecx
rol edx, 0xe
and ecx, r8d
add edx, r8d
mov eax, edx
and eax, r11d
or ecx, eax
mov eax, r8d
add ecx, dword [rsp]
lea r10d, [rcx + r9 - 0x16493856]
mov ecx, r8d
not ecx
ror r10d, 0xc
and ecx, edx
add r10d, edx
and eax, r10d
or ecx, eax
mov eax, edx
add ecx, r15d
lea r9d, [rcx + r11 - 0x29d0efa3]
mov ecx, edx
not ecx
rol r9d, 5
and ecx, r10d
add r9d, r10d
and eax, r9d
or ecx, eax
add ecx, r13d
lea r11d, [rcx + r8 + 0x2441453]
mov ecx, r10d
not ecx
rol r11d, 9
and ecx, r9d
add r11d, r9d
mov eax, r11d
and eax, r10d
or ecx, eax
add ecx, edi
lea r8d, [rcx + rdx - 0x275e197f]
mov ecx, r9d
not ecx
rol r8d, 0xe
add r8d, r11d
and ecx, r11d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [rsp + 0x10]
lea edx, [rcx + r10 - 0x182c0438]
mov ecx, r11d
mov eax, r11d
not ecx
ror edx, 0xc
and ecx, r8d
add edx, r8d
and eax, edx
or ecx, eax
mov eax, r8d
add ecx, dword [rsp + 0x24]
lea r10d, [rcx + r9 + 0x21e1cde6]
mov ecx, r8d
not ecx
rol r10d, 5
and ecx, edx
add r10d, edx
and eax, r10d
or ecx, eax
add ecx, esi
lea r9d, [rcx + r11 - 0x3cc8f82a]
mov ecx, edx
not ecx
rol r9d, 9
and ecx, r10d
add r9d, r10d
mov eax, r9d
and eax, edx
or ecx, eax
add ecx, dword [rsp + 0xc]
lea r11d, [rcx + r8 - 0xb2af279]
mov ecx, r10d
not ecx
rol r11d, 0xe
and ecx, r9d
add r11d, r9d
mov eax, r11d
and eax, r10d
or ecx, eax
mov eax, r9d
add ecx, dword [rsp + 0x20]
lea ebx, [rcx + rdx + 0x455a14ed]
mov ecx, r9d
not ecx
ror ebx, 0xc
and ecx, r11d
add ebx, r11d
and eax, ebx
or ecx, eax
mov eax, r11d
add ecx, r14d
lea edx, [rcx + r10 - 0x561c16fb]
mov ecx, r11d
not ecx
rol edx, 5
and ecx, ebx
add edx, ebx
and eax, edx
or ecx, eax
add ecx, dword [rsp + 8]
lea r8d, [rcx + r9 - 0x3105c08]
mov ecx, ebx
not ecx
rol r8d, 9
and ecx, edx
add r8d, edx
mov eax, r8d
and eax, ebx
or ecx, eax
add ecx, r12d
lea r9d, [rcx + r11 + 0x676f02d9]
mov ecx, edx
not ecx
rol r9d, 0xe
add r9d, r8d
and ecx, r8d
mov eax, r9d
and eax, edx
or ecx, eax
add ecx, ebp
lea r10d, [rcx + rbx - 0x72d5b376]
mov ebx, dword [rsp + 0x20]
ror r10d, 0xc
mov eax, r8d
xor eax, r9d
add r10d, r9d
xor eax, r10d
add eax, r15d
lea edx, [rax + rdx - 0x5c6be]
mov eax, r9d
xor eax, r10d
rol edx, 4
add edx, r10d
xor eax, edx
add eax, ebx
lea r8d, [rax + r8 - 0x788e097f]
rol r8d, 0xb
add r8d, edx
mov eax, r8d
mov ecx, r8d
xor eax, r10d
xor eax, edx
add eax, dword [rsp + 0x2c]
lea r9d, [rax + r9 + 0x6d9d6122]
rol r9d, 0x10
add r9d, r8d
xor ecx, r9d
mov eax, ecx
xor eax, edx
add eax, esi
lea r10d, [rax + r10 - 0x21ac7f4]
mov eax, r9d
ror r10d, 9
add r10d, r9d
xor eax, r10d
xor ecx, r10d
add ecx, dword [rsp + 4]
lea r11d, [rcx + rdx - 0x5b4115bc]
rol r11d, 4
add r11d, r10d
xor eax, r11d
add eax, dword [rsp + 0x10]
lea edx, [rax + r8 + 0x4bdecfa9]
rol edx, 0xb
add edx, r11d
mov eax, edx
mov ecx, edx
xor eax, r10d
xor eax, r11d
add eax, r12d
lea r8d, [rax + r9 - 0x944b4a0]
rol r8d, 0x10
add r8d, edx
xor ecx, r8d
mov eax, ecx
xor eax, r11d
add eax, r13d
lea r9d, [rax + r10 - 0x41404390]
mov eax, r8d
ror r9d, 9
add r9d, r8d
xor eax, r9d
xor ecx, r9d
add ecx, r14d
lea r10d, [rcx + r11 + 0x289b7ec6]
rol r10d, 4
add r10d, r9d
xor eax, r10d
add eax, dword [rsp]
lea r11d, [rax + rdx - 0x155ed806]
rol r11d, 0xb
add r11d, r10d
mov eax, r11d
mov ecx, r11d
xor eax, r9d
xor eax, r10d
add eax, dword [rsp + 0xc]
lea r8d, [rax + r8 - 0x2b10cf7b]
rol r8d, 0x10
add r8d, r11d
xor ecx, r8d
mov eax, ecx
xor eax, r10d
add eax, dword [rsp + 0x18]
lea edx, [rax + r9 + 0x4881d05]
mov eax, r8d
ror edx, 9
add edx, r8d
xor eax, edx
xor ecx, edx
add ecx, dword [rsp + 0x24]
lea r9d, [rcx + r10 - 0x262b2fc7]
rol r9d, 4
add r9d, edx
xor eax, r9d
add eax, ebp
lea ecx, [rax + r11 - 0x1924661b]
rol ecx, 0xb
add ecx, r9d
mov eax, ecx
xor eax, edx
xor eax, r9d
add eax, edi
lea r10d, [rax + r8 + 0x1fa27cf8]
mov eax, ecx
rol r10d, 0x10
add r10d, ecx
xor eax, r10d
xor eax, r9d
add eax, dword [rsp + 8]
lea r8d, [rax + rdx - 0x3b53a99b]
mov eax, ecx
not eax
ror r8d, 9
add r8d, r10d
or eax, r8d
xor eax, r10d
add eax, dword [rsp]
lea edx, [rax + r9 - 0xbd6ddbc]
mov eax, r10d
not eax
rol edx, 6
add edx, r8d
or eax, edx
xor eax, r8d
add eax, r12d
lea r9d, [rax + rcx + 0x432aff97]
mov eax, r8d
not eax
rol r9d, 0xa
add r9d, edx
or eax, r9d
xor eax, edx
add eax, esi
lea ecx, [rax + r10 - 0x546bdc59]
mov eax, edx
not eax
rol ecx, 0xf
add ecx, r9d
or eax, ecx
xor eax, r9d
add eax, r15d
lea r10d, [rax + r8 - 0x36c5fc7]
mov eax, r9d
not eax
ror r10d, 0xb
add r10d, ecx
or eax, r10d
xor eax, ecx
add eax, ebp
lea r8d, [rax + rdx + 0x655b59c3]
mov eax, ecx
not eax
rol r8d, 6
add r8d, r10d
or eax, r8d
xor eax, r10d
add eax, dword [rsp + 0xc]
lea edx, [rax + r9 - 0x70f3336e]
mov eax, r10d
rol edx, 0xa
not eax
add edx, r8d
or eax, edx
xor eax, r8d
add eax, r13d
lea r9d, [rax + rcx - 0x100b83]
mov ecx, dword [rsp + 4]
mov eax, r8d
not eax
rol r9d, 0xf
add r9d, edx
or eax, r9d
xor eax, edx
add eax, ecx
lea ecx, [rax + r10 - 0x7a7ba22f]
mov eax, edx
not eax
ror ecx, 0xb
add ecx, r9d
or eax, ecx
xor eax, r9d
add eax, ebx
lea r10d, [rax + r8 + 0x6fa87e4f]
mov eax, r9d
not eax
rol r10d, 6
add r10d, ecx
or eax, r10d
xor eax, ecx
add eax, edi
lea r11d, [rax + rdx - 0x1d31920]
mov eax, ecx
not eax
rol r11d, 0xa
add r11d, r10d
or eax, r11d
xor eax, r10d
add eax, dword [rsp + 0x18]
lea r9d, [rax + r9 - 0x5cfebcec]
mov eax, r10d
not eax
rol r9d, 0xf
add r9d, r11d
or eax, r9d
xor eax, r11d
add eax, r14d
lea ebx, [rax + rcx + 0x4e0811a1]
mov eax, r11d
not eax
ror ebx, 0xb
add ebx, r9d
or eax, ebx
xor eax, r9d
add eax, dword [rsp + 0x10]
lea r8d, [rax + r10 - 0x8ac817e]
mov eax, r9d
not eax
rol r8d, 6
add r8d, ebx
or eax, r8d
xor eax, ebx
add eax, dword [rsp + 0x2c]
lea edx, [rax + r11 - 0x42c50dcb]
mov eax, ebx
not eax
rol edx, 0xa
add edx, r8d
or eax, edx
xor eax, r8d
add eax, dword [rsp + 8]
lea ecx, [rax + r9 + 0x2ad7d2bb]
mov eax, dword [rsp + 0x98]
mov r9, qword [rsp + 0x88]
add eax, r8d
not r8d
rol ecx, 0xf
add ecx, edx
mov dword [r9], eax
or r8d, ecx
xor r8d, edx
add r8d, dword [rsp + 0x24]
lea eax, [r8 + rbx - 0x14792c6f]
ror eax, 0xb
add eax, dword [r9 + 4]
mov rbx, qword [rsp + 0x80]
add eax, ecx
mov dword [r9 + 4], eax
mov eax, dword [r9 + 8]
add eax, ecx
mov dword [r9 + 8], eax
mov eax, dword [r9 + 0xc]
add eax, edx
mov dword [r9 + 0xc], eax
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret