Function at 0x180050700
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 [0x180203c28]
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 0x18005079a
test rdi, rdi
je 0x18005079a
cmp qword [rdi + 0x378], r15
jne 0x18005079a
mov r14b, 1
mov qword [rbx + 0x3ef8], r15
jmp 0x18005079d
xor r14b, r14b
xor r13b, r13b
call fcn.180025f60
xor r12d, r12d
mov dword [rsp + 0xa0], eax
test al, al
je 0x1800507db
cmp byte [rbx + 0x4a74], r12b
je 0x180050954
cmp dword [rbx + 0x4a94], esi
jne 0x1800507e8
test byte [rbx + 0x4a78], 2
jne 0x1800507e8
mov byte [rsp + 0xa0], r12b
jmp 0x1800507e8
cmp byte [rbx + 0x4a74], r12b
je 0x180050954
bt ebp, 9
jae 0x180050954
test byte [rbx + 0x4a78], 4
jne 0x180050954
mov rcx, qword [0x180203c28]
mov r9, qword [rcx + 0x3ef0]
cmp byte [rcx + 0x490f], r12b
je 0x18005084b
cmp byte [rcx + 0x490e], r12b
jne 0x18005084b
test byte [rcx + 0x4790], 4
jne 0x180050954
mov eax, dword [rcx + 0x48d8]
cmp eax, dword [rcx + 0x478c]
jne 0x180050954
test eax, eax
jne 0x1800508f1
jmp 0x180050954
mov eax, dword [rcx + 0x4794]
test al, 1
je 0x180050954
cmp qword [rcx + 0x3ef8], r9
je 0x18005086a
test al, al
jns 0x180050954
mov rdx, qword [rcx + 0x48d0]
test rdx, rdx
je 0x1800508d3
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x1800508d3
cmp byte [rdx + 0xb7], r12b
je 0x1800508d3
mov rax, qword [r9 + 0x378]
cmp rdx, rax
je 0x1800508d3
mov r8d, dword [rdx + 0x14]
bt r8d, 0x1b
jb 0x1800508a9
bt r8d, 0x1a
jae 0x1800508d3
cmp qword [rax + 0x378], rdx
je 0x1800508d3
cmp rax, rdx
je 0x1800508d3
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x1800508b2
test dword [rcx + 0x4790], 0x100
je 0x180050954
test byte [rcx + 0x4790], 4
jne 0x180050954
mov eax, dword [r9 + 0x7c]
cmp dword [rcx + 0x478c], eax
jne 0x1800508f1
cmp byte [r9 + 0xb8], r12b
jne 0x180050954
mov rax, qword [0x180203c28]
mov dl, 1
mov dword [rsp + 0xa0], edx
mov dword [rax + 0x3f3c], esi
mov byte [rax + 0x3f44], r12b
test esi, esi
je 0x180050921
cmp dword [rax + 0x3f40], esi
je 0x180050921
mov qword [rax + 0x3f48], r12
movss xmm1, dword [rbx + 0x3f48]
movss xmm2, dword [0x180135124]
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x18]
comiss xmm2, xmm0
jb 0x18005095b
comiss xmm1, xmm2
jb 0x18005095b
mov rcx, r15
mov dword [rbx + 0x4af0], esi
mov r13b, 1
call fcn.18002ea20
mov edx, dword [rsp + 0xa0]
test r14b, r14b
je 0x180050967
mov qword [rbx + 0x3ef8], rdi
mov r9d, 1
xorps xmm6, xmm6
test dl, dl
je 0x1800509a1
bt ebp, 0xc
jae 0x1800509a1
mov eax, dword [rbx + 0x3f40]
cmp eax, esi
je 0x1800509a1
test eax, eax
je 0x1800509a1
xor dl, dl
mov r15d, esi
bt ebp, 0x15
mov dword [rsp + 0xa0], edx
cmovb r15d, r12d
jmp 0x180050c12
bt ebp, 0x15
mov r15d, esi
cmovb r15d, r12d
test dl, dl
je 0x180050c12
mov edi, 0xffffffff
mov r14d, edi
test r9b, bpl
je 0x1800509f7
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call fcn.18002fdc0
movzx edi, al
mov rax, qword [0x180203c28]
dec edi
cmp byte [rax + 0x3766], r12b
je 0x1800509f7
mov edx, r15d
mov ecx, 0x281
call fcn.180031950
test al, al
je 0x1800509f7
mov r14d, r12d
test bpl, 2
je 0x180050a3f
xor r8d, r8d
mov edx, r15d
mov ecx, r9d
call fcn.18002fdc0
test al, al
je 0x180050a16
cmp edi, 0xffffffff
cmove edi, r9d
mov rax, qword [0x180203c28]
cmp byte [rax + 0x3767], r12b
je 0x180050a3f
mov edx, r15d
mov ecx, 0x282
call fcn.180031950
test al, al
je 0x180050a3f
cmp r14d, 0xffffffff
cmove r14d, r9d
test bpl, 4
je 0x180050a93
mov r9d, 2
xor r8d, r8d
mov ecx, r9d
mov edx, r15d
call fcn.18002fdc0
test al, al
je 0x180050a64
cmp edi, 0xffffffff
cmove edi, r9d
mov rax, qword [0x180203c28]
cmp byte [rax + 0x3768], r12b
je 0x180050a8d
mov edx, r15d
mov ecx, 0x283
call fcn.180031950
test al, al
je 0x180050a8d
cmp r14d, 0xffffffff
cmove r14d, r9d
mov r9d, 1
bt ebp, 0x10
jae 0x180050ac0
cmp byte [rbx + 0xe20], r12b
jne 0x180050bff
cmp byte [rbx + 0xe21], r12b
jne 0x180050bff
cmp byte [rbx + 0xe22], r12b
jne 0x180050bff
cmp edi, 0xffffffff
je 0x180050b81
cmp dword [rbx + 0x3f50], esi
je 0x180050b81
bt ebp, 0x14
jb 0x180050af0
lea ecx, [rdi + 0x281]
call fcn.180022260
mov dword [rax + 4], esi
mov dword [rax], esi
mov word [rax + 8], r12w
test bpl, 0x60
je 0x180050b24
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.180025d30
mov dword [rbx + 0x3f7c], edi
bt ebp, 0x12
jb 0x180050b1a
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.180033c20
mov rcx, qword [rsp + 0x20]
call fcn.18002ea20
test bpl, 0x10
jne 0x180050b3e
bt ebp, 8
jae 0x180050b81
movsxd rax, edi
cmp word [rbx + rax*2 + 0x3752], 2
jne 0x180050b81
mov r13b, 1
bt ebp, 0x11
jae 0x180050b4e
call fcn.180025e70
jmp 0x180050b5a
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.180025d30
bt ebp, 0x12
jb 0x180050b6c
mov rdx, qword [rsp + 0x20]
mov ecx, esi
call fcn.180033c20
mov dword [rbx + 0x3f7c], edi
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.18002ea20
jmp 0x180050b86
mov rdi, qword [rsp + 0x20]
test bpl, bpl
jns 0x180050bc1
cmp r14d, 0xffffffff
je 0x180050bc1
bt ebp, 0xa
jae 0x180050ba9
movsxd rax, r14d
movss xmm0, dword [rbx + rax*4 + 0x378c]
comiss xmm0, dword [rbx + 0x3c]
jae 0x180050bac
mov r13b, 1
bt ebp, 0x12
jb 0x180050bbc
mov rdx, rdi
mov ecx, esi
call fcn.180033c20
call fcn.180025e70
mov r9d, 1
cmp dword [rbx + 0x3f50], esi
jne 0x180050bff
bt ebp, 0xa
jae 0x180050bff
movsxd rcx, dword [rbx + 0x3f7c]
movss xmm0, dword [rbx + rcx*4 + 0x3778]
comiss xmm0, xmm6
jbe 0x180050bff
mov r8d, r9d
mov edx, r15d
call fcn.18002fdc0
test al, al
je 0x180050bff
movzx r13d, r9b
jmp 0x180050c04
test r13b, r13b
je 0x180050c0b
mov byte [rbx + 0x490e], 1
mov edx, dword [rsp + 0xa0]
cmp dword [rbx + 0x48d8], esi
jne 0x180050c56
cmp byte [rbx + 0x490e], r12b
jne 0x180050c56
cmp byte [rbx + 0x490f], r12b
je 0x180050c56
mov eax, dword [rbx + 0x3f50]
test eax, eax
je 0x180050c44
cmp eax, esi
je 0x180050c44
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 0x7c]
jne 0x180050c56
bt ebp, 0x13
movzx edx, dl
cmovae edx, r9d
mov dword [rsp + 0xa0], edx
cmp dword [rbx + 0x48e4], esi
jne 0x180050d44
cmp dword [rbx + 0x48e8], esi
sete cl
je 0x180050d0c
bt ebp, 0xa
jae 0x180050d0c
mov rax, qword [0x180203c28]
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 0x180050cb8
jne 0x180050cb8
mov r12d, r9d
jmp 0x180050d06
comiss xmm1, xmm0
jae 0x180050d06
comiss xmm6, xmm3
jb 0x180050cd1
comiss xmm2, xmm1
jbe 0x180050d06
comiss xmm0, xmm2
jb 0x180050d06
mov r12d, r9d
jmp 0x180050d06
comiss xmm2, xmm1
jbe 0x180050cdd
mov eax, 0xffffffff
jmp 0x180050ce9
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
comiss xmm2, xmm0
jbe 0x180050cf6
mov r12d, 0xffffffff
jmp 0x180050d03
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si r12d, xmm0
sub r12d, eax
test r12d, r12d
setg cl
cmp dword [rbx + 0x48e0], esi
je 0x180050d18
test cl, cl
je 0x180050d44
mov rdi, qword [rsp + 0x20]
mov ecx, esi
mov rdx, rdi
mov r13b, 1
call fcn.180025d30
mov dword [rbx + 0x3f78], 5
bt ebp, 0x12
jb 0x180050d44
mov rdx, rdi
mov ecx, esi
call fcn.180033c20
xor dil, dil
cmp dword [rbx + 0x3f50], esi
jne 0x180050e9f
mov eax, dword [rbx + 0x3f78]
cmp eax, 1
jne 0x180050e78
cmp byte [rbx + 0x3f5c], dil
je 0x180050d9c
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 [0x180203c28]
cmp byte [r9 + rax + 0xe10], dil
je 0x180050dd6
lea ecx, [r9 + 0x281]
mov edx, r15d
call fcn.180031950
test al, al
je 0x180050dd6
mov esi, dword [rsp + 0xa0]
mov dil, 1
jmp 0x180050e69
mov esi, dword [rsp + 0xa0]
test sil, sil
je 0x180050de8
test bpl, 0x20
jne 0x180050df1
mov eax, ebp
shr eax, 6
test al, 1
je 0x180050e64
cmp byte [rbx + 0x4a74], dil
jne 0x180050e64
bt ebp, 8
jae 0x180050e1b
cmp byte [r9 + rbx + 0x3766], dil
je 0x180050e1b
cmp word [rbx + r9*2 + 0x375c], 2
jne 0x180050e1b
mov r11b, 1
jmp 0x180050e1e
xor r11b, r11b
bt ebp, 0xa
jae 0x180050e39
movss xmm0, dword [rbx + r9*4 + 0x378c]
comiss xmm0, dword [rbx + 0x3c]
jb 0x180050e39
mov r10b, 1
jmp 0x180050e3c
xor r10b, r10b
lea ecx, [r9 + 0x281]
mov edx, r15d
call fcn.180031950
test r11b, r11b
jne 0x180050e64
test r10b, r10b
jne 0x180050e64
test al, al
movzx r13d, r13b
mov eax, 1
cmovne r13d, eax
call fcn.180025e70
bt ebp, 0x12
jb 0x180050e91
mov byte [rbx + 0x490e], 1
jmp 0x180050e91
cmp eax, 5
jne 0x180050e8a
cmp dword [rbx + 0x48e4], esi
je 0x180050e8a
call fcn.180025e70
mov esi, dword [rsp + 0xa0]
test r13b, r13b
je 0x180050ea6
mov byte [rbx + 0x3f5f], 1
jmp 0x180050ea6
mov esi, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x180050eb6
mov byte [rax], sil
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x180050ec6
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