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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [rdx + 0x88]
mov rsi, rcx
movsxd r14, r8d
mov r15, r14
mov r12, rdx
imul r15, r15, 0x15e8
mov qword [rsp + 0x38], r15
lea r13, [r15 + rax]
mov qword [rsp + 0x80], r13
mov eax, dword [r13 + 0x1a4]
add eax, 1
movsxd rcx, eax
imul rcx, rcx, 0xf8
call fcn.1800c8c40
test rax, rax
mov rbx, rax
mov qword [rsp + 0x68], rax
jne 0x1801214c3
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
mov eax, dword [r13 + 0x1a4]
xor ecx, ecx
mov qword [rsp + 0xa0], rbp
add eax, 1
mov qword [rsp + 0x98], rdi
mov r15d, ecx
test eax, eax
mov dword [rsp + 0x28], ecx
mov r10, rcx
mov qword [rsp + 0x30], rcx
jle 0x180121bb0
nop
nop
nop
mov r8d, dword [rsi]
mov ebp, ecx
mov dword [rsp + 0xf8], ecx
mov edi, ecx
mov ecx, dword [r12 + 0x3c]
mov eax, r14d
cdq
mov r14, r10
idiv dword [r12 + 0x50]
imul r14, r14, 0xf8
mov qword [rsp + 0x70], r14
mov r9d, eax
imul ecx, edx
add ecx, dword [r12 + 0x34]
cmp ecx, r8d
cmovg r8d, ecx
mov dword [r14 + rbx + 0xd8], r8d
mov ecx, dword [rsi + 4]
mov eax, dword [r12 + 0x40]
imul eax, r9d
add eax, dword [r12 + 0x38]
cmp eax, ecx
cmovg ecx, eax
lea eax, [rdx + 1]
mov dword [r14 + rbx + 0xdc], ecx
mov ecx, dword [rsi + 8]
imul eax, dword [r12 + 0x3c]
add eax, dword [r12 + 0x34]
cmp eax, ecx
cmovl ecx, eax
lea eax, [r9 + 1]
mov dword [r14 + rbx + 0xe0], ecx
mov ecx, dword [rsi + 0xc]
imul eax, dword [r12 + 0x40]
add eax, dword [r12 + 0x38]
cmp eax, ecx
cmovl ecx, eax
mov dword [r14 + rbx + 0xe4], ecx
mov eax, dword [rsi + 0x10]
mov dword [r14 + rbx + 0xc8], eax
movsxd rax, dword [rsi + 0x10]
lea rsi, [rax + rax*2]
shl rsi, 3
mov rcx, rsi
call fcn.1800c8c40
test rax, rax
mov qword [r14 + rbx + 0xd0], rax
je 0x180121b08
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1801603e0
cmp dword [rbx + 0xc8], 0
mov dword [rsp + 0x20], 0
jle 0x18012185a
xor edx, edx
xor ebp, ebp
xor esi, esi
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x48], rbp
nop
nop
nop
nop
mov r15, qword [r13 + 0x15e0]
mov r12, qword [r14 + rbx + 0xd0]
mov r8, qword [rsp + 0xe0]
mov rax, qword [r8 + 0x18]
mov qword [rsp + 0x78], r15
mov ecx, dword [rdx + rax]
mov dword [rsi + r12], ecx
mov rax, qword [r8 + 0x18]
mov ecx, dword [rax + rdx + 4]
mov dword [rsi + r12 + 4], ecx
movsxd rax, dword [r15 + rbp + 4]
mov rcx, rax
mov dword [rsi + r12 + 8], eax
shl rcx, 4
call fcn.1800c8c40
test rax, rax
mov qword [rsi + r12 + 0x10], rax
je 0x1801219bc
mov r9d, dword [rsi + r12]
mov r8d, dword [rsi + r12 + 4]
mov eax, dword [rbx + 0xd8]
mov ecx, dword [rbx + 0xdc]
lea eax, [rax + r9 - 1]
cdq
idiv r9d
mov r10d, eax
mov dword [rsp + 0x2c], eax
lea eax, [rcx + r8 - 1]
mov ecx, dword [rbx + 0xe0]
cdq
idiv r8d
mov dword [rsp + 0x54], eax
lea eax, [rcx + r9 - 1]
mov ecx, dword [rbx + 0xe4]
cdq
idiv r9d
mov dword [rsp + 0x50], eax
lea eax, [rcx + r8 - 1]
mov ecx, dword [rsi + r12 + 8]
cdq
idiv r8d
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xf8]
cmp ecx, eax
cmovg eax, ecx
xor r13d, r13d
test ecx, ecx
mov dword [rsp + 0xf8], eax
jle 0x180121809
mov rbx, qword [rsp + 0x48]
xor r8d, r8d
lea r11, [rbx + r15 + 0x3b0]
test byte [rbx + r15], 1
mov r9, qword [rsi + r12 + 0x10]
je 0x180121714
mov eax, dword [r11 - 0x84]
mov dword [r8 + r9], eax
mov eax, dword [r11]
mov dword [r8 + r9 + 4], eax
jmp 0x180121725
mov dword [r8 + r9], reloc.OLEAUT32.dll_SafeArrayDestroy
mov dword [r8 + r9 + 4], reloc.OLEAUT32.dll_SafeArrayDestroy
mov edx, dword [rsp + 0x54]
mov ecx, dword [rsi + r12 + 8]
mov eax, 1
sub ecx, r13d
sub ecx, 1
shl eax, cl
lea r14d, [rax + rdx - 1]
mov edx, dword [rsp + 0x50]
lea ebp, [rax + r10 - 1]
mov r10d, dword [r8 + r9]
lea edx, [rax + rdx - 1]
sar r14d, cl
sar edx, cl
sar ebp, cl
mov dword [rsp + 0x24], edx
mov edx, dword [rsp + 0x40]
lea r15d, [rax + rdx - 1]
mov eax, r14d
sar r15d, cl
mov ecx, dword [r8 + r9 + 4]
sar eax, cl
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, 1
shl eax, cl
lea edx, [rax + r15 - 1]
sar edx, cl
shl edx, cl
cmp ebp, dword [rsp + 0x24]
jne 0x180121792
xor eax, eax
jmp 0x1801217b8
mov ecx, r10d
mov eax, 1
shl eax, cl
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx - 1]
mov ecx, r10d
sar eax, cl
sar ebp, cl
shl eax, cl
shl ebp, cl
sub eax, ebp
sar eax, cl
mov ecx, dword [r8 + r9 + 4]
cmp r14d, r15d
mov dword [r8 + r9 + 8], eax
jne 0x1801217c6
xor edx, edx
jmp 0x1801217cc
sub edx, dword [rsp + 0x58]
sar edx, cl
mov r15, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x2c]
mov dword [r8 + r9 + 0xc], edx
imul edx, eax
cmp edx, edi
cmovg edi, edx
add r13d, 1
add r11, 4
add r8, 0x10
cmp r13d, dword [rsi + r12 + 8]
jl 0x1801216f3
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x70]
mov eax, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x80]
add eax, 1
add rbp, 0x434
add rdx, 0x38
add rsi, 0x18
cmp eax, dword [rbx + 0xc8]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x60], rdx
jl 0x180121610
mov ebp, dword [rsp + 0xf8]
mov r12, qword [rsp + 0xe8]
mov r15d, dword [rsp + 0x28]
mov rsi, qword [rsp + 0xe0]
mov r10, qword [rsp + 0x30]
mov dword [r14 + rbx + 0x1c], 1
mov dword [r14 + rbx + 0x18], edi
mov eax, dword [rsi + 0x10]
imul eax, edi
mov dword [r14 + rbx + 0x14], eax
imul eax, ebp
test r10, r10
mov dword [r14 + rbx + 0x10], eax
jne 0x1801218ba
mov eax, dword [r13 + 0xc]
imul eax, dword [rsi + 0x10]
imul eax, edi
imul eax, ebp
movsxd rcx, eax
add rcx, rcx
call fcn.1800c8c40
test rax, rax
mov qword [rbx + 8], rax
je 0x180121a68
mov r10, qword [rsp + 0x30]
jmp 0x1801218d1
mov rax, r10
imul rax, rax, 0xf8
mov rax, qword [rax + rbx - 0xf0]
mov qword [r14 + rbx + 8], rax
cmp dword [r13 + 0x1a8], 0
jne 0x180121911
mov dword [r14 + rbx + 0x30], 1
xor ecx, ecx
mov dword [r14 + rbx + 0x34], ecx
mov dword [r14 + rbx + 0x38], ecx
mov eax, dword [r13 + 0xc]
mov dword [r14 + rbx + 0x3c], eax
mov dword [r14 + rbx + 0x40], ebp
mov eax, dword [rsi + 0x10]
mov dword [r14 + rbx + 0x44], eax
mov eax, dword [r13 + 8]
mov dword [r14 + rbx + 0x58], eax
jmp 0x18012197b
mov dword [r14 + rbx + 0x30], 1
mov rcx, r10
imul rcx, rcx, 0x94
mov eax, dword [rcx + r13 + 0x1ac]
mov dword [r14 + rbx + 0x34], eax
mov eax, dword [rcx + r13 + 0x1b0]
mov dword [r14 + rbx + 0x38], eax
mov eax, dword [rcx + r13 + 0x1b4]
mov dword [r14 + rbx + 0x3c], eax
mov eax, dword [rcx + r13 + 0x1b8]
mov dword [r14 + rbx + 0x40], eax
lea rax, [r10 + 3]
imul rax, rax, 0x94
mov eax, dword [rax + r13]
mov dword [r14 + rbx + 0x44], eax
mov eax, dword [rcx + r13 + 0x1d0]
xor ecx, ecx
mov dword [r14 + rbx + 0x58], eax
add r15d, 1
add r10, 1
mov dword [r14 + rbx + 0x48], ecx
mov dword [r14 + rbx + 0x4c], ecx
mov dword [r14 + rbx + 0x50], edi
mov eax, dword [r13 + 0x1a4]
add eax, 1
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x30], r10
cmp r15d, eax
jge 0x180121bb0
mov r14d, dword [rsp + 0xf0]
jmp 0x180121500
mov r13, qword [rsp + 0xe8]
mov r14, qword [rsp + 0x38]
xor r12d, r12d
mov r13, qword [r13 + 0x88]
mov eax, dword [r14 + r13 + 0x1a4]
add eax, 1
test eax, eax
jle 0x180121a56
lea rbp, [rbx + 0xd0]
nop
nop
cmp qword [rbp], 0
je 0x180121a3b
xor edi, edi
cmp dword [rbx + 0xc8], edi
jle 0x180121a32
xor esi, esi
nop
nop
nop
nop
mov rax, qword [rbp]
mov rcx, qword [rsi + rax + 0x10]
test rcx, rcx
je 0x180121a23
call fcn.180079290
add edi, 1
add rsi, 0x18
cmp edi, dword [rbx + 0xc8]
jl 0x180121a10
mov rcx, qword [rbp]
call fcn.180079290
mov eax, dword [r14 + r13 + 0x1a4]
add r12d, 1
add rbp, 0xf8
add eax, 1
cmp r12d, eax
jl 0x1801219f0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180121ba4
jmp 0x180121b9f
mov r13, qword [r12 + 0x88]
mov r14, qword [rsp + 0x38]
xor r12d, r12d
mov eax, dword [r14 + r13 + 0x1a4]
add eax, 1
test eax, eax
jle 0x180121af6
lea rbp, [rbx + 0xd0]
nop
cmp qword [rbp], 0
je 0x180121adb
xor edi, edi
cmp dword [rbx + 0xc8], edi
jle 0x180121ad2
xor esi, esi
nop
nop
nop
nop
mov rax, qword [rbp]
mov rcx, qword [rsi + rax + 0x10]
test rcx, rcx
je 0x180121ac3
call fcn.180079290
add edi, 1
add rsi, 0x18
cmp edi, dword [rbx + 0xc8]
jl 0x180121ab0
mov rcx, qword [rbp]
call fcn.180079290
mov eax, dword [r14 + r13 + 0x1a4]
add r12d, 1
add rbp, 0xf8
add eax, 1
cmp r12d, eax
jl 0x180121a90
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180121ba4
jmp 0x180121b9f
mov r13, qword [r12 + 0x88]
mov r15, qword [rsp + 0x38]
xor r12d, r12d
mov eax, dword [r15 + r13 + 0x1a4]
add eax, 1
test eax, eax
jle 0x180121b96
lea rbp, [rbx + 0xd0]
nop
cmp qword [rbp], 0
je 0x180121b7b
xor edi, edi
cmp dword [rbx + 0xc8], edi
jle 0x180121b72
xor esi, esi
nop
nop
nop
nop
mov rax, qword [rbp]
mov rcx, qword [rsi + rax + 0x10]
test rcx, rcx
je 0x180121b63
call fcn.180079290
add edi, 1
add rsi, 0x18
cmp edi, dword [rbx + 0xc8]
jl 0x180121b50
mov rcx, qword [rbp]
call fcn.180079290
mov eax, dword [r15 + r13 + 0x1a4]
add r12d, 1
add rbp, 0xf8
add eax, 1
cmp r12d, eax
jl 0x180121b30
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180121ba4
call fcn.180079290
mov rcx, rbx
call fcn.180079290
xor eax, eax
jmp 0x180121bb3
mov rax, rbx
mov rbp, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret