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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rbp + 0x58], rax
movaps xmm6, xmm3
mov qword [rsp + 0x70], r8
mov r10, rdx
mov qword [rsp + 0x68], rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov rdi, qword [rbp + 0xc8]
mov qword [rsp + 0x60], rdi
xor esi, esi
mov r13d, esi
mov dword [rsp + 0x20], esi
mov r9, qword [r8 + 8]
sub r9, qword [r8]
sar r9, 5
xorps xmm1, xmm1
test r9, r9
js 0x18004f38d
cvtsi2sd xmm1, r9
jmp 0x18004f3a3
mov rax, r9
shr rax, 1
and r9d, 1
or rax, r9
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movsd xmm0, qword [0x1800d0090]
subsd xmm0, xmm6
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [rsp + 0x5c], eax
mov r9d, esi
mov dword [rsp + 0x44], esi
mov r14d, dword [rcx]
mov dword [rsp + 0x34], r14d
mov edx, dword [rcx + 4]
mov dword [rsp + 0x40], edx
mov eax, dword [rbp + 0xc0]
test eax, eax
jne 0x18004f3f2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x3c], 1
mov r8d, esi
mov ecx, esi
jmp 0x18004f41d
cmp eax, 1
jne 0x18004f51b
mov eax, 0xffffffff
mov dword [rsp + 0x3c], 1
mov ecx, esi
mov dword [rsp + 0x40], edx
lea r8d, [r14 - 1]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x34], eax
mov r14d, eax
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x38], r8d
cmp ecx, edx
je 0x18004f967
movzx ebx, byte [rsp + 0x24]
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
imul eax, dword [r15]
shl eax, 2
movsxd rdx, eax
add rdx, qword [r15 + 8]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x30], r8d
cmp r8d, r14d
je 0x18004fa1f
mov rax, rdx
mov ecx, dword [rsp + 0x28]
nop word [rax + rax]
mov r9, qword [r10]
mov r14, qword [r10 + 8]
cmp r9, r14
je 0x18004f9ed
mov eax, dword [rax]
mov r15d, eax
shr r15d, 0x10
mov r12d, eax
shr r12d, 8
movzx ecx, al
mov dword [rsp + 0x58], ecx
nop word [rax + rax]
mov r8d, dword [r9 + 4]
mov edi, r8d
shr edi, 0x10
mov r10d, r8d
shr r10d, 8
mov eax, dword [r9]
mov esi, eax
shr esi, 0x10
mov r11d, eax
shr r11d, 8
movzx eax, al
sub ecx, eax
mov eax, ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
movzx eax, r8b
cmp ecx, eax
jg 0x18004f508
movzx ecx, r11b
movzx eax, r12b
sub eax, ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
movzx eax, r10b
cmp ecx, eax
jg 0x18004f508
movzx ecx, sil
movzx eax, r15b
sub eax, ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
movzx eax, dil
cmp ecx, eax
jle 0x18004f54f
add r9, 8
cmp r9, r14
je 0x18004f9d3
mov ecx, dword [rsp + 0x58]
jmp 0x18004f4a0
lea ecx, [rdx - 1]
mov dword [rsp + 0x2c], ecx
cmp eax, 2
mov eax, 0xffffffff
mov dword [rsp + 0x3c], eax
mov edx, eax
mov dword [rsp + 0x40], eax
jne 0x18004f40e
mov dword [rsp + 0x28], 1
mov r8d, esi
mov dword [rsp + 0x34], r14d
jmp 0x18004f421
xor esi, esi
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov r14, qword [rax + 8]
mov r12d, dword [rsp + 0x30]
cmp rdi, r14
je 0x18004f5cc
nop word [rax + rax]
mov edx, dword [rdi]
mov ecx, dword [rsp + 0x2c]
add ecx, dword [rdi + 4]
add edx, r12d
mov r15, qword [rsp + 0x50]
js 0x18004f5b5
mov eax, dword [r15]
cmp edx, eax
jge 0x18004f5b5
test ecx, ecx
js 0x18004f5b5
cmp ecx, dword [r15 + 4]
jge 0x18004f5b5
imul eax, ecx
add eax, edx
cdqe
mov rdx, qword [r15 + 8]
lea r8, [rdi + 8]
movaps xmm3, xmm6
mov edx, dword [rdx + rax*4]
mov rcx, r15
call fcn.18004e020
test eax, eax
jne 0x18004f5b7
inc esi
cmp esi, dword [rsp + 0x5c]
jg 0x18004f9d8
add rdi, 0x20
cmp rdi, r14
jne 0x18004f570
jmp 0x18004f5d1
mov r15, qword [rsp + 0x50]
mov r8d, dword [r15 + 0x8c]
add r8d, dword [r15 + 0x84]
add r8d, dword [rsp + 0x2c]
lea r10, [rbp + 0x22]
jns 0x18004f630
neg r8d
nop dword [rax]
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x18004f5f0
add r10, 0xfffffffffffffffe
mov edi, 0x2d
mov word [r10], di
jmp 0x18004f663
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x18004f630
lea edi, [rdx + 0x2d]
lea r9, [rsp + 0x24]
lea r8, [rbp + 0x22]
mov rdx, r10
lea rcx, [rbp - 0x28]
call fcn.1800127d0
or r13d, 2
mov dword [rsp + 0x20], r13d
and r13d, 0xfffffffd
mov dword [rsp + 0x20], r13d
or r13d, 1
mov dword [rsp + 0x20], r13d
mov r8d, dword [r15 + 0x88]
add r8d, dword [r15 + 0x80]
add r8d, r12d
lea r10, [rbp + 0x52]
jns 0x18004f6f0
neg r8d
nop dword [rax]
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x18004f6b0
add r10, 0xfffffffffffffffe
mov word [r10], di
jmp 0x18004f720
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x18004f6f0
lea r9, [rsp + 0x24]
lea r8, [rbp + 0x52]
mov rdx, r10
lea rcx, [rbp - 0x48]
call fcn.1800127d0
or r13d, 8
mov dword [rsp + 0x20], r13d
and r13d, 0xfffffff7
mov dword [rsp + 0x20], r13d
or r13d, 4
mov dword [rsp + 0x20], r13d
mov r8d, 1
lea rdx, [0x1800cfa50]
lea rcx, [rbp - 0x48]
call fcn.1800111c0
xor esi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r13d, 0x10
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x68]
movzx edx, bl
lea rcx, [rsp + 0x78]
call fcn.180012610
or r13d, 0x20
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1800111c0
and r13d, 0xffffffdf
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18004f820
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f81b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fa42
call fcn.180093588
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
and r13d, 0xffffffef
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x18004f87a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fa48
call fcn.180093588
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
and r13d, 0xfffffffb
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18004f8d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f8ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fa36
call fcn.180093588
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
and r13d, 0xfffffffe
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18004f92c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004f927
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004fa3c
call fcn.180093588
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov r8d, 1
lea rdx, [0x1800cfd88]
mov rcx, rdi
call fcn.1800111c0
mov r9d, dword [rsp + 0x44]
inc r9d
mov dword [rsp + 0x44], r9d
cmp r9d, 0x708
jle 0x18004f9df
lea rdx, [rdi + 0x10]
mov rcx, qword [rdx]
test rcx, rcx
je 0x18004f99e
mov rax, rdi
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x18004f983
mov rax, qword [rdi]
cmp word [rax + rcx*2 - 2], 0x7c
jne 0x18004f99e
dec rcx
cmp r8, 8
jb 0x18004f997
mov rdi, qword [rdi]
mov qword [rdx], rcx
mov word [rdi + rcx*2], si
mov eax, r9d
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.180093c30
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r15, qword [rsp + 0x50]
xor esi, esi
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov r10, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x48], rax
mov r9d, dword [rsp + 0x30]
add r9d, ecx
mov dword [rsp + 0x30], r9d
mov r14d, dword [rsp + 0x34]
cmp r9d, r14d
jne 0x18004f470
mov ecx, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x38]
add ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], ecx
cmp ecx, dword [rsp + 0x40]
je 0x18004f967
jmp 0x18004f440
call fcn.18009a4c4
nop
call fcn.18009a4c4
nop
call fcn.18009a4c4
nop
call fcn.18009a4c4
int3