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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x60
mov rax, qword [0x18010f050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rcx
mov rcx, qword [rcx]
mov dword [rsp + 0x20], 0
mov rax, qword [rcx]
mov rbx, rdx
mov edx, dword [rdx + 0x50]
xor r8d, r8d
call qword [rax + 0x28]
mov rcx, qword [rbp]
lea r9, [rsp + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
mov r8d, 0x20
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x40]
test r11d, r11d
jne 0x180091f80
or eax, 0xffffffff
jmp 0x1800922ad
movzx r8d, word [rsp + 0x30]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x24], edi
test r8b, 4
je 0x180091fc1
mov rcx, qword [rbp]
lea r9, [rsp + 0x20]
lea r8d, [rdi + 5]
mov rax, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x40]
mov r8w, word [rsp + 0x30]
mov qword [rsp + 0x90], rsi
test r8b, 0x10
je 0x180091ff8
mov rcx, qword [rbp]
lea rsi, [rbx + 0x54]
lea r9, [rsp + 0x20]
mov rax, qword [rcx]
mov r8d, 4
mov rdx, rsi
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x40]
mov r8w, word [rsp + 0x30]
jmp 0x180091fff
lea rsi, [rbx + 0x54]
mov dword [rsi], r11d
movzx edx, word [rsp + 0x2c]
movzx r9d, word [rsp + 0x2e]
mov r12d, dword [rsp + 0x44]
mov eax, 0xf3c
movzx ecx, r8w
mov dword [rbx], edx
mov dword [rbx + 4], r9d
mov dword [rbx + 0xc], r11d
mov dword [rbx + 0x14], r12d
mov dword [rbx + 8], ecx
lea r14d, [rax - 0x64]
cmp dx, ax
jae 0x18009204a
cmp dx, r14w
jb 0x180092043
mov eax, 0xfa0
cmp r9w, ax
je 0x18009204a
mov eax, 0x2400
jmp 0x18009204f
mov eax, 0x12000
mov dword [rbx + 0x10], eax
mov eax, 0xf6e
cmp dx, ax
jb 0x180092063
mov dword [rbx + 0x10], 0x48000
movzx r10d, word [rsp + 0x32]
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x18], r10d
mov dword [rbx + 0x1c], eax
test cl, 1
je 0x180092080
mov ecx, 8
jmp 0x180092086
and ecx, 8
or ecx, 0x10
mov eax, ecx
mov dword [rbx + 0x20], ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov r9d, eax
mov dword [rbx + 0x24], eax
imul r9d, r10d
mov dword [rbx + 0x28], r9d
test r11d, r11d
jne 0x1800920ab
xor edx, edx
jmp 0x1800920b6
lea edx, [r11 - 1]
imul edx, dword [rbx + 0x10]
add edx, r12d
mov dword [rbx + 0x40], edx
test r8b, 0x20
je 0x1800920c6
mov eax, 0x2c
jmp 0x1800920ca
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov dword [rbx + 0x2c], eax
imul r9d, edx
add eax, r9d
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x30], r9d
add eax, ecx
mov dword [rbx + 0x38], eax
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ecx, dword [rbx + 0x1c]
movd xmm1, dword [rbx + 0x40]
movd xmm0, ecx
mov dword [rbx + 0x3c], eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1800d0680]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [rbx + 0x44], edx
test edx, edx
jg 0x180092120
xor eax, eax
jmp 0x180092140
movd xmm1, eax
movd xmm0, edx
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x1800d22c8]
divsd xmm1, xmm0
cvttsd2si eax, xmm1
imul ecx, dword [rbx + 0x28]
mov dword [rbx + 0x48], eax
mov eax, 0x10624dd3
shl ecx, 3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
test byte [rsp + 0x30], 0x20
mov dword [rbx + 0x4c], edx
jne 0x1800921e2
mov ecx, dword [rsp + 0x38]
call fcn.180076d78
cmp dword [rbx + 0x8c], 0
mov r12, rax
je 0x1800921a6
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800921a6
cmp dword [rbx + 0x88], 0
je 0x180092196
call fcn.180076a50
jmp 0x18009219b
call fcn.180076a50
mov qword [rbx + 0x80], 0
mov dword [rbx + 0x8c], 1
mov dword [rbx + 0x88], 1
mov qword [rbx + 0x80], r12
mov rdx, r12
test r12, r12
je 0x180092283
mov rcx, qword [rbp]
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r10, qword [rcx]
call qword [r10 + 0x18]
movsxd rcx, dword [rsi]
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.180076d78
cmp dword [rbx + 0x6c], 0
mov r12, rax
je 0x180092225
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180092225
cmp dword [rbx + 0x68], 0
je 0x180092218
call fcn.180076a50
jmp 0x18009221d
call fcn.180076a50
mov qword [rbx + 0x60], 0
mov dword [rbx + 0x6c], 1
mov dword [rbx + 0x68], 1
mov qword [rbx + 0x60], r12
mov rdx, r12
test r12, r12
je 0x180092283
mov rcx, qword [rbp]
mov r8d, dword [rsi]
lea r9, [rsp + 0x20]
mov rax, qword [rcx]
shl r8d, 2
call qword [rax + 0x18]
cmp word [rsp + 0x2c], r14w
ja 0x180092299
movsxd rcx, dword [rsi]
call fcn.180076d78
mov r9d, 1
lea rcx, [rbx + 0x70]
mov rdx, rax
mov r8d, r9d
call fcn.18008e2a0
mov rdx, qword [rbx + 0x70]
test rdx, rdx
jne 0x180092287
mov eax, edi
jmp 0x18009229b
mov rcx, qword [rbp]
mov r8d, dword [rsi]
lea r9, [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
xor eax, eax
mov rsi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180076a70
add rsp, 0x60
pop rdi
pop rbp
pop rbx
ret