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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f7050]
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 0x18007b5d0
or eax, 0xffffffff
jmp 0x18007b8fd
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 0x18007b611
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 0x18007b648
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 0x18007b64f
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 0x18007b69a
cmp dx, r14w
jb 0x18007b693
mov eax, 0xfa0
cmp r9w, ax
je 0x18007b69a
mov eax, 0x2400
jmp 0x18007b69f
mov eax, 0x12000
mov dword [rbx + 0x10], eax
mov eax, 0xf6e
cmp dx, ax
jb 0x18007b6b3
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 0x18007b6d0
mov ecx, 8
jmp 0x18007b6d6
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 0x18007b6fb
xor edx, edx
jmp 0x18007b706
lea edx, [r11 - 1]
imul edx, dword [rbx + 0x10]
add edx, r12d
mov dword [rbx + 0x40], edx
test r8b, 0x20
je 0x18007b716
mov eax, 0x2c
jmp 0x18007b71a
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 [0x1800ba530]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [rbx + 0x44], edx
test edx, edx
jg 0x18007b770
xor eax, eax
jmp 0x18007b790
movd xmm1, eax
movd xmm0, edx
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x1800bc188]
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 0x18007b832
mov ecx, dword [rsp + 0x38]
call fcn.180062408
cmp dword [rbx + 0x8c], 0
mov r12, rax
je 0x18007b7f6
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18007b7f6
cmp dword [rbx + 0x88], 0
je 0x18007b7e6
call fcn.1800620e0
jmp 0x18007b7eb
call fcn.1800620e0
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 0x18007b8d3
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.180062408
cmp dword [rbx + 0x6c], 0
mov r12, rax
je 0x18007b875
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x18007b875
cmp dword [rbx + 0x68], 0
je 0x18007b868
call fcn.1800620e0
jmp 0x18007b86d
call fcn.1800620e0
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 0x18007b8d3
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 0x18007b8e9
movsxd rcx, dword [rsi]
call fcn.180062408
mov r9d, 1
lea rcx, [rbx + 0x70]
mov rdx, rax
mov r8d, r9d
call fcn.1800778c0
mov rdx, qword [rbx + 0x70]
test rdx, rdx
jne 0x18007b8d7
mov eax, edi
jmp 0x18007b8eb
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.180062100
add rsp, 0x60
pop rdi
pop rbp
pop rbx
ret