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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rsi
sub rsp, 0xe8
cmp r9d, 0x14
mov eax, r9d
mov rbx, r8
mov rsi, rdx
jge 0x18008b989
shl eax, 2
mov rcx, rbx
movsxd r8, eax
add rsp, 0xe8
pop rsi
pop rbx
jmp fcn.18006c2d0
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], r13
mov ebp, 0x40
mov rcx, rbx
mov r8, rbp
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r15
call fcn.18006c2d0
lea rcx, [rsp + 0x70]
mov r8, rbp
xor edx, edx
call fcn.18006cf60
mov ecx, dword [rsi + 0x38]
mov edi, dword [rsi + 0x3c]
mov eax, dword [rsi + 0x34]
mov r8, qword [rsp + 0x110]
add rbx, rbp
mov r14d, dword [rbx - 4]
sub eax, ecx
mov r9d, edi
sub r9d, ecx
mov r10d, edi
xor r13d, r13d
add r10d, r10d
add r9d, r9d
mov dword [rsp + 0x60], ecx
sub r10d, ecx
lea r15d, [rbp + 0x33]
mov dword [rsp + 0x5c], ebp
lea rcx, [r8 + 8]
mov r12d, 0x2e4
lea r11d, [rdi + rax*8]
lea edx, [rbp - 0x3d]
nop word [rax + rax]
mov eax, dword [rcx - 8]
add rcx, 0x14
add dword [rcx - 0x18], eax
mov eax, dword [rcx - 0x18]
add dword [rcx - 0x14], eax
mov eax, dword [rcx - 0x14]
add dword [rcx - 0x10], eax
mov eax, dword [rcx - 0x10]
add dword [rcx - 0xc], eax
mov eax, dword [rcx - 0xc]
add dword [rcx - 8], eax
sub rdx, 1
jne 0x18008ba30
movsxd rax, dword [rsp + 0x118]
lea rax, [r8 + rax*4]
mov qword [rsp + 0xb0], rax
cmp rbx, rax
jae 0x18008c126
mov ecx, dword [rsp + 0xa4]
mov rax, rbx
sub rax, r8
mov dword [rsp + 0x40], ecx
lea r8, [rax + rsi - 8]
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x58], eax
nop word [rax + rax]
mov esi, dword [r8 + 8]
test esi, esi
jle 0x18008bd35
mov ecx, dword [rsp + 0x58]
mov eax, dword [r8 - 0x38]
mov edx, eax
shr eax, 0x1e
and eax, 2
imul edx, ecx
lea ecx, [rcx + rax - 1]
mov dword [rsp + 0x58], ecx
mov ecx, dword [r8 - 0x34]
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x118]
add edx, eax
mov eax, dword [rsp + 0x118]
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x30]
mov dword [rsp + 0x118], eax
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x24]
add edx, eax
mov eax, dword [rsp + 0x24]
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x2c]
mov dword [rsp + 0x24], eax
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x54]
add edx, eax
mov eax, dword [rsp + 0x54]
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x28]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x2c]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x24]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x50]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x50]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x20]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x34]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x1c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x48]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x18]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x3c]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x3c]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x14]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x4c]
imul eax, ecx
shr ecx, 0x1e
and ecx, 2
add edx, eax
mov eax, dword [rsp + 0x4c]
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0x10]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x44]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 0xc]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x20]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 8]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x28]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 - 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x40]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x38]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov ecx, dword [r8 + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
imul eax, ecx
add edx, eax
mov eax, dword [rsp + 0x30]
shr ecx, 0x1e
and ecx, 2
lea eax, [rax + rcx - 1]
mov dword [rsp + 0x30], eax
jmp 0x18008bfd5
test esi, esi
jns 0x18008bf29
mov ecx, dword [r8 - 0x38]
mov edx, ecx
shr ecx, 0x1e
and ecx, 2
imul edx, eax
mov eax, 1
sub eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov dword [rsp + 0x58], ecx
mov ecx, dword [r8 - 0x34]
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x118]
add edx, eax
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x30]
add dword [rsp + 0x118], eax
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x24]
add edx, eax
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x2c]
add dword [rsp + 0x24], eax
mov eax, ecx
shr ecx, 0x1e
and ecx, 2
imul eax, dword [rsp + 0x54]
add edx, eax
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x28]
add dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x24]
add dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x50]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x20]
add dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x1c]
add dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0x18]
add dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x3c]
imul eax, ecx
shr ecx, 0x1e
add edx, eax
mov eax, 1
and ecx, 2
sub eax, ecx
add dword [rsp + 0x3c], eax
mov ecx, dword [r8 - 0x14]
mov eax, dword [rsp + 0x4c]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
mov eax, 1
and ecx, 2
sub eax, ecx
mov ecx, dword [r8 - 0x10]
add dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 0xc]
add dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 8]
add dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 - 4]
add dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8]
add dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
mov ecx, dword [r8 + 4]
add dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
imul eax, ecx
add edx, eax
shr ecx, 0x1e
and ecx, 2
mov eax, 1
sub eax, ecx
add dword [rsp + 0x30], eax
jmp 0x18008bfd5
mov edx, dword [r8 - 0x38]
imul edx, eax
mov eax, dword [r8 - 0x34]
imul eax, dword [rsp + 0x118]
add edx, eax
mov eax, dword [r8 - 0x30]
imul eax, dword [rsp + 0x24]
add edx, eax
mov eax, dword [r8 - 0x2c]
imul eax, dword [rsp + 0x54]
add edx, eax
mov eax, dword [r8 - 0x28]
imul eax, dword [rsp + 0x2c]
add edx, eax
mov eax, dword [r8 - 0x24]
imul eax, dword [rsp + 0x50]
add edx, eax
mov eax, dword [r8 - 0x20]
imul eax, dword [rsp + 0x34]
add edx, eax
mov eax, dword [r8 - 0x1c]
imul eax, dword [rsp + 0x48]
add edx, eax
mov eax, dword [r8 - 0x18]
imul eax, dword [rsp + 0x3c]
add edx, eax
mov eax, dword [r8 - 0x14]
imul eax, dword [rsp + 0x4c]
add edx, eax
mov eax, dword [r8 - 0x10]
imul eax, dword [rsp + 0x44]
add edx, eax
mov eax, dword [r8 - 0xc]
imul eax, dword [rsp + 0x20]
add edx, eax
mov eax, dword [r8 - 8]
imul eax, dword [rsp + 0x28]
add edx, eax
mov eax, dword [r8 - 4]
imul eax, ecx
mov ecx, dword [r8 + 4]
add edx, eax
mov eax, dword [rsp + 0x38]
imul ecx, dword [rsp + 0x30]
imul eax, dword [r8]
add edx, eax
add edx, ecx
sar edx, 9
mov ecx, edi
mov eax, r9d
sub esi, edx
mov edx, dword [rsp + 0x5c]
imul eax, r15d
mov dword [r8 + 8], esi
imul ecx, edx
add ecx, eax
mov eax, r11d
imul eax, ebp
add ecx, eax
sar ecx, 0xb
add ecx, esi
mov dword [rbx], ecx
mov eax, dword [r8 + 8]
test eax, eax
jle 0x18008c043
sar r11d, 0x1e
sar r9d, 0x1c
mov eax, 1
and r11d, 2
and r9d, 8
mov ecx, edi
sub eax, r11d
sar ecx, 0x1c
add ebp, eax
and ecx, 8
mov eax, 4
sub eax, r9d
add r15d, eax
mov eax, 4
sub eax, ecx
add edx, eax
mov dword [rsp + 0x5c], edx
jmp 0x18008c071
test eax, eax
jns 0x18008c071
sar r11d, 0x1e
sar r9d, 0x1c
mov eax, edi
and r11d, 2
and r9d, 8
sar eax, 0x1c
and eax, 8
lea ebp, [rbp + r11 - 1]
lea r15d, [r15 + r9 - 4]
lea edx, [rdx + rax - 4]
mov dword [rsp + 0x5c], edx
mov edx, dword [rbx]
mov eax, dword [rsp + 0x60]
mov ecx, r10d
imul ecx, r12d
sub eax, edi
mov r9d, edx
mov dword [rsp + 0x60], edi
sub r9d, edi
lea r11d, [rdx + rax*8]
mov eax, r14d
add r9d, r9d
mov edi, edx
imul eax, r13d
sub ecx, eax
sar ecx, 0xa
add ecx, edx
mov dword [rbx], ecx
test edx, edx
jle 0x18008c0ca
sar r10d, 0x1d
mov eax, 2
and r10d, 4
sub eax, r10d
add r12d, eax
mov eax, r14d
sar eax, 0x1e
and eax, 2
lea r13d, [r13 + rax - 1]
jmp 0x18008c0ee
test edx, edx
jns 0x18008c0ee
sar r10d, 0x1d
mov ecx, r14d
mov eax, 1
sar ecx, 0x1e
and r10d, 4
and ecx, 2
lea r12d, [r12 + r10 - 2]
sub eax, ecx
add r13d, eax
mov ecx, dword [rbx]
mov eax, dword [rbx - 4]
add rbx, 4
lea r10d, [rcx + rcx]
add r8, 4
imul eax, eax, 0x1f
sar eax, 5
sub r10d, r14d
mov r14d, ecx
add eax, ecx
mov ecx, dword [rsp + 0x40]
mov dword [rbx - 4], eax
mov eax, dword [rsp + 0x58]
cmp rbx, qword [rsp + 0xb0]
jb 0x18008bb30
mov r14, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
add rsp, 0xe8
pop rsi
pop rbx
ret