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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r10d, dword [rsp + 0xa0]
mov esi, edx
mov rbx, qword [0x180274e88]
mov r9d, r10d
or r9d, 1
movaps xmmword [rsp + 0x30], xmm6
test r10b, 7
mov rax, qword [rbx + 0x3ef0]
cmovne r9d, r10d
mov ebp, r9d
or ebp, 0x20
test r9d, 0x3f0
mov byte [rax + 0xb8], 1
mov r15, qword [rbx + 0x3ef0]
cmovne ebp, r9d
mov rdi, qword [rbx + 0x3ef8]
mov qword [rsp + 0x20], r15
bt ebp, 0xb
jae 0x18005113a
test rdi, rdi
je 0x18005113a
cmp qword [rdi + 0x378], r15
jne 0x18005113a
mov r14b, 1
mov qword [rbx + 0x3ef8], r15
jmp 0x18005113d
xor r14b, r14b
xor r13b, r13b
call fcn.180027420
xor r12d, r12d
mov dword [rsp + 0xa0], eax
test al, al
je 0x18005117b
cmp byte [rbx + 0x4a7c], r12b
je 0x1800512f4
cmp dword [rbx + 0x4a9c], esi
jne 0x180051188
test byte [rbx + 0x4a80], 2
jne 0x180051188
mov byte [rsp + 0xa0], r12b
jmp 0x180051188
cmp byte [rbx + 0x4a7c], r12b
je 0x1800512f4
bt ebp, 9
jae 0x1800512f4
test byte [rbx + 0x4a80], 4
jne 0x1800512f4
mov rcx, qword [0x180274e88]
mov r9, qword [rcx + 0x3ef0]
cmp byte [rcx + 0x4913], r12b
je 0x1800511eb
cmp byte [rcx + 0x4912], r12b
jne 0x1800511eb
test byte [rcx + 0x4790], 4
jne 0x1800512f4
mov eax, dword [rcx + 0x48d8]
cmp eax, dword [rcx + 0x478c]
jne 0x1800512f4
test eax, eax
jne 0x180051291
jmp 0x1800512f4
mov eax, dword [rcx + 0x4794]
test al, 1
je 0x1800512f4
cmp qword [rcx + 0x3ef8], r9
je 0x18005120a
test al, al
jns 0x1800512f4
mov rdx, qword [rcx + 0x48d0]
test rdx, rdx
je 0x180051273
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x180051273
cmp byte [rdx + 0xb7], r12b
je 0x180051273
mov rax, qword [r9 + 0x378]
cmp rdx, rax
je 0x180051273
mov r8d, dword [rdx + 0x14]
bt r8d, 0x1b
jb 0x180051249
bt r8d, 0x1a
jae 0x180051273
cmp qword [rax + 0x378], rdx
je 0x180051273
cmp rax, rdx
je 0x180051273
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x180051252
test dword [rcx + 0x4790], 0x100
je 0x1800512f4
test byte [rcx + 0x4790], 4
jne 0x1800512f4
mov eax, dword [r9 + 0x7c]
cmp dword [rcx + 0x478c], eax
jne 0x180051291
cmp byte [r9 + 0xb8], r12b
jne 0x1800512f4
mov rax, qword [0x180274e88]
mov dl, 1
mov dword [rsp + 0xa0], edx
mov dword [rax + 0x3f3c], esi
mov byte [rax + 0x3f44], r12b
test esi, esi
je 0x1800512c1
cmp dword [rax + 0x3f40], esi
je 0x1800512c1
mov qword [rax + 0x3f48], r12
movss xmm1, dword [rbx + 0x3f48]
movss xmm2, dword [0x18013e31c]
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x18]
comiss xmm2, xmm0
jb 0x1800512fb
comiss xmm1, xmm2
jb 0x1800512fb
mov rcx, r15
mov dword [rbx + 0x4af8], esi
mov r13b, 1
call fcn.18002fe90
mov edx, dword [rsp + 0xa0]
test r14b, r14b
je 0x180051307
mov qword [rbx + 0x3ef8], rdi
mov r9d, 1
xorps xmm6, xmm6
test dl, dl
je 0x180051341
bt ebp, 0xc
jae 0x180051341
mov eax, dword [rbx + 0x3f40]
cmp eax, esi
je 0x180051341
test eax, eax
je 0x180051341
xor dl, dl
mov r15d, esi
bt ebp, 0x15
mov dword [rsp + 0xa0], edx
cmovb r15d, r12d
jmp 0x1800515b2
bt ebp, 0x15
mov r15d, esi
cmovb r15d, r12d
test dl, dl
je 0x1800515b2
mov edi, 0xffffffff
mov r14d, edi
test r9b, bpl
je 0x180051397
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call fcn.1800311b0
movzx edi, al
mov rax, qword [0x180274e88]
dec edi
cmp byte [rax + 0x3766], r12b
je 0x180051397
mov edx, r15d
mov ecx, 0x281
call fcn.180032d40
test al, al
je 0x180051397
mov r14d, r12d
test bpl, 2
je 0x1800513df
xor r8d, r8d
mov edx, r15d
mov ecx, r9d
call fcn.1800311b0
test al, al
je 0x1800513b6
cmp edi, 0xffffffff
cmove edi, r9d
mov rax, qword [0x180274e88]
cmp byte [rax + 0x3767], r12b
je 0x1800513df
mov edx, r15d
mov ecx, 0x282
call fcn.180032d40
test al, al
je 0x1800513df
cmp r14d, 0xffffffff
cmove r14d, r9d
test bpl, 4
je 0x180051433
mov r9d, 2
xor r8d, r8d
mov ecx, r9d
mov edx, r15d
call fcn.1800311b0
test al, al
je 0x180051404
cmp edi, 0xffffffff
cmove edi, r9d
mov rax, qword [0x180274e88]
cmp byte [rax + 0x3768], r12b
je 0x18005142d
mov edx, r15d
mov ecx, 0x283
call fcn.180032d40
test al, al
je 0x18005142d
cmp r14d, 0xffffffff
cmove r14d, r9d
mov r9d, 1
bt ebp, 0x10
jae 0x180051460
cmp byte [rbx + 0xe20], r12b
jne 0x18005159f
cmp byte [rbx + 0xe21], r12b
jne 0x18005159f
cmp byte [rbx + 0xe22], r12b
jne 0x18005159f
cmp edi, 0xffffffff
je 0x180051521
cmp dword [rbx + 0x3f50], esi
je 0x180051521
bt ebp, 0x14
jb 0x180051490
lea ecx, [rdi + 0x281]
call fcn.1800236f0
mov dword [rax + 4], esi
mov dword [rax], esi
mov word [rax + 8], r12w
test bpl, 0x60
je 0x1800514c4
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.1800271f0
mov dword [rbx + 0x3f7c], edi
bt ebp, 0x12
jb 0x1800514ba
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.1800352c0
mov rcx, qword [rsp + 0x20]
call fcn.18002fe90
test bpl, 0x10
jne 0x1800514de
bt ebp, 8
jae 0x180051521
movsxd rax, edi
cmp word [rbx + rax*2 + 0x3752], 2
jne 0x180051521
mov r13b, 1
bt ebp, 0x11
jae 0x1800514ee
call fcn.180027330
jmp 0x1800514fa
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.1800271f0
bt ebp, 0x12
jb 0x18005150c
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.1800352c0
mov dword [rbx + 0x3f7c], edi
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.18002fe90
jmp 0x180051526
mov rdi, qword [rsp + 0x20]
test bpl, bpl
jns 0x180051561
cmp r14d, 0xffffffff
je 0x180051561
bt ebp, 0xa
jae 0x180051549
movsxd rax, r14d
movss xmm0, dword [rbx + rax*4 + 0x378c]
comiss xmm0, dword [rbx + 0x3c]
jae 0x18005154c
mov r13b, 1
bt ebp, 0x12
jb 0x18005155c
mov rdx, rdi
mov ecx, esi
call fcn.1800352c0
call fcn.180027330
mov r9d, 1
cmp dword [rbx + 0x3f50], esi
jne 0x18005159f
bt ebp, 0xa
jae 0x18005159f
movsxd rcx, dword [rbx + 0x3f7c]
movss xmm0, dword [rbx + rcx*4 + 0x3778]
comiss xmm0, xmm6
jbe 0x18005159f
mov r8d, r9d
mov edx, r15d
call fcn.1800311b0
test al, al
je 0x18005159f
movzx r13d, r9b
jmp 0x1800515a4
test r13b, r13b
je 0x1800515ab
mov byte [rbx + 0x4912], 1
mov edx, dword [rsp + 0xa0]
cmp dword [rbx + 0x48d8], esi
jne 0x1800515f6
cmp byte [rbx + 0x4912], r12b
jne 0x1800515f6
cmp byte [rbx + 0x4913], r12b
je 0x1800515f6
mov eax, dword [rbx + 0x3f50]
test eax, eax
je 0x1800515e4
cmp eax, esi
je 0x1800515e4
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 0x7c]
jne 0x1800515f6
bt ebp, 0x13
movzx edx, dl
cmovae edx, r9d
mov dword [rsp + 0xa0], edx
cmp dword [rbx + 0x48e8], esi
jne 0x1800516e4
cmp dword [rbx + 0x48ec], esi
sete cl
je 0x1800516ac
bt ebp, 0xa
jae 0x1800516ac
mov rax, qword [0x180274e88]
movss xmm3, dword [rbx + 0x40]
movss xmm2, dword [rbx + 0x3c]
movss xmm0, dword [rax + 0x2eec]
maxss xmm0, dword [rax + 0x2efc]
maxss xmm0, dword [rax + 0x350c]
ucomiss xmm0, xmm6
movaps xmm1, xmm0
subss xmm1, dword [rbx + 0x18]
jp 0x180051658
jne 0x180051658
mov r12d, r9d
jmp 0x1800516a6
comiss xmm1, xmm0
jae 0x1800516a6
comiss xmm6, xmm3
jb 0x180051671
comiss xmm2, xmm1
jbe 0x1800516a6
comiss xmm0, xmm2
jb 0x1800516a6
mov r12d, r9d
jmp 0x1800516a6
comiss xmm2, xmm1
jbe 0x18005167d
mov eax, 0xffffffff
jmp 0x180051689
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
comiss xmm2, xmm0
jbe 0x180051696
mov r12d, 0xffffffff
jmp 0x1800516a3
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si r12d, xmm0
sub r12d, eax
test r12d, r12d
setg cl
cmp dword [rbx + 0x48e0], esi
je 0x1800516b8
test cl, cl
je 0x1800516e4
mov rdi, qword [rsp + 0x20]
mov ecx, esi
mov rdx, rdi
mov r13b, 1
call fcn.1800271f0
mov dword [rbx + 0x3f78], 5
bt ebp, 0x12
jb 0x1800516e4
mov rdx, rdi
mov ecx, esi
call fcn.1800352c0
xor dil, dil
cmp dword [rbx + 0x3f50], esi
jne 0x18005183f
mov eax, dword [rbx + 0x3f78]
cmp eax, 1
jne 0x180051818
cmp byte [rbx + 0x3f5c], dil
je 0x18005173c
movss xmm1, dword [rbx + 0xe08]
movss xmm0, dword [rbx + 0xe0c]
mov rax, qword [rsp + 0x80]
subss xmm1, dword [rax]
subss xmm0, dword [rax + 4]
movss dword [rbx + 0x3f64], xmm1
movss dword [rbx + 0x3f68], xmm0
movsxd r9, dword [rbx + 0x3f7c]
mov rax, qword [0x180274e88]
cmp byte [r9 + rax + 0xe10], dil
je 0x180051776
lea ecx, [r9 + 0x281]
mov edx, r15d
call fcn.180032d40
test al, al
je 0x180051776
mov esi, dword [rsp + 0xa0]
mov dil, 1
jmp 0x180051809
mov esi, dword [rsp + 0xa0]
test sil, sil
je 0x180051788
test bpl, 0x20
jne 0x180051791
mov eax, ebp
shr eax, 6
test al, 1
je 0x180051804
cmp byte [rbx + 0x4a7c], dil
jne 0x180051804
bt ebp, 8
jae 0x1800517bb
cmp byte [r9 + rbx + 0x3766], dil
je 0x1800517bb
cmp word [rbx + r9*2 + 0x375c], 2
jne 0x1800517bb
mov r11b, 1
jmp 0x1800517be
xor r11b, r11b
bt ebp, 0xa
jae 0x1800517d9
movss xmm0, dword [rbx + r9*4 + 0x378c]
comiss xmm0, dword [rbx + 0x3c]
jb 0x1800517d9
mov r10b, 1
jmp 0x1800517dc
xor r10b, r10b
lea ecx, [r9 + 0x281]
mov edx, r15d
call fcn.180032d40
test r11b, r11b
jne 0x180051804
test r10b, r10b
jne 0x180051804
test al, al
movzx r13d, r13b
mov eax, 1
cmovne r13d, eax
call fcn.180027330
bt ebp, 0x12
jb 0x180051831
mov byte [rbx + 0x4912], 1
jmp 0x180051831
cmp eax, 5
jne 0x18005182a
cmp dword [rbx + 0x48e8], esi
je 0x18005182a
call fcn.180027330
mov esi, dword [rsp + 0xa0]
test r13b, r13b
je 0x180051846
mov byte [rbx + 0x3f5f], 1
jmp 0x180051846
mov esi, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x180051856
mov byte [rax], sil
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x180051866
mov byte [rax], dil
mov rbx, qword [rsp + 0x88]
movzx eax, r13b
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret