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

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rax, qword [0x1401b2f48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3a], 0
call fcn.140055550
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x14005b265
mov dword [rsp + 0x54], 1
jmp 0x14005b26d
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x14005b28f
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f00], 0
je 0x14005b31a
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x14005b31a
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x14019ce54]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1f14]
subss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
call fcn.1400606f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f44]
jb 0x14005b31a
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f14]
jb 0x14005b31a
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f00], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14005b352
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x14005b352
mov edx, 1
mov ecx, 3
call fcn.14003e600
movzx eax, al
test eax, eax
je 0x14005b352
mov dword [rsp + 0x58], 1
jmp 0x14005b35a
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14005b3b4
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x14005b3b4
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
je 0x14005b3b4
mov dl, 1
xor ecx, ecx
call fcn.14003e550
movzx eax, al
test eax, eax
je 0x14005b3b4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x14005b3b4
mov dword [rsp + 0x5c], 1
jmp 0x14005b3bc
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x14005b3db
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14005b4e8
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x14005b400
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0x90], rax
jmp 0x14005b427
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1bc0]
dec eax
mov r8d, 0xffffffff
mov edx, 0x80000001
mov ecx, eax
call fcn.14005b050
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14005b4e8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 0x3a0]
mov qword [rax + 0x1f00], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1f00]
mov qword [rax + 0x1ef8], rcx
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f14], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f10], xmm0
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14005b4a9
mov byte [rsp + 0x3b], 0
jmp 0x14005b4ae
mov byte [rsp + 0x3b], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3b]
mov byte [rax + 0x1f18], cl
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14005b4d1
mov dword [rsp + 0x60], 2
jmp 0x14005b4d9
mov dword [rsp + 0x60], 3
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1dfc], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f10], xmm0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x14005b67d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 3
jne 0x14005b67d
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
subss xmm0, dword [0x14019cb6c]
divss xmm0, dword [0x14019cadc]
call fcn.14003bcd0
movaps xmm1, xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f14]
call fcn.1400606f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov edx, 4
mov ecx, 0xc
call fcn.14003e600
movzx eax, al
mov dword [rsp + 0x74], eax
mov edx, 4
mov ecx, 0xd
call fcn.14003e600
movzx eax, al
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14005b5ce
mov ecx, dword [rsp + 0x64]
call fcn.14005b100
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x14019cd48]
movss dword [rax + 0x1f14], xmm0
mov ecx, 3
call fcn.14003e5b0
movzx eax, al
test eax, eax
jne 0x14005b67d
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x14019cd48]
comiss xmm0, dword [rax + 0x1f14]
jbe 0x14005b603
mov dword [rsp + 0x68], 1
jmp 0x14005b60b
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
and eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x1f18], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
je 0x14005b64c
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x14005b64c
mov byte [rsp + 0x3a], 1
jmp 0x14005b66d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
jne 0x14005b66d
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x14005b742
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 2
jne 0x14005b742
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
subss xmm0, dword [0x14019cb6c]
divss xmm0, dword [0x14019cadc]
call fcn.14003bcd0
movaps xmm1, xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f14]
call fcn.1400606f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov dl, 1
xor ecx, ecx
call fcn.14003e550
movzx eax, al
test eax, eax
je 0x14005b721
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
je 0x14005b710
mov dword [rsp + 0x6c], 1
jmp 0x14005b718
mov dword [rsp + 0x6c], 0xffffffff
mov ecx, dword [rsp + 0x6c]
call fcn.14005b100
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
jne 0x14005b742
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov qword [rsp + 0x40], rax
mov edx, 1
mov ecx, 0x10
call fcn.14003e600
movzx eax, al
test eax, eax
je 0x14005b764
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1f18], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1c58], 0
je 0x14005b782
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1c65]
test eax, eax
je 0x14005b7e3
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
je 0x14005b7e3
mov edx, 2
mov ecx, 0x10
call fcn.14003e600
movzx eax, al
test eax, eax
je 0x14005b7e3
mov rax, qword [rsp + 0x30]
add rax, 0x128
mov rcx, rax
call fcn.140049a60
movzx eax, al
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x30]
add rcx, 0x3c4
call fcn.140049a60
movzx eax, al
mov ecx, dword [rsp + 0x78]
cmp ecx, eax
jne 0x14005b7e3
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x14005b9b7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov eax, dword [rax + 0x1c]
and eax, 4
test eax, eax
jne 0x14005b9b7
lea rcx, [rsp + 0xd8]
call fcn.14003ad70
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 2
jne 0x14005b867
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
jne 0x14005b867
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.140058700
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 3
jne 0x14005b8a1
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 4
lea rcx, [rsp + 0xc0]
call fcn.140058700
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
movss xmm0, dword [rsp + 0xd8]
ucomiss xmm0, dword [0x14019ca94]
jp 0x14005b8cd
jne 0x14005b8cd
movss xmm0, dword [rsp + 0xdc]
ucomiss xmm0, dword [0x14019ca94]
jp 0x14005b8cd
je 0x14005b9b7
movss xmm0, dword [0x14019cf7c]
movss dword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x14019cf7c]
mulss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0xc4]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc0]
call fcn.1400606b0
movss xmm1, dword [rsp + 0x7c]
mulss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14003bd60
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov rax, qword [rax + 0x3a0]
mov qword [rsp + 0x88], rax
movss xmm2, dword [rsp + 0x80]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
call fcn.14003b730
mov rcx, qword [rsp + 0x88]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xd0]
call fcn.14003b7d0
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400521e0
mov rcx, qword [rsp + 0x88]
call fcn.14005d480
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
cmp qword [rsp + 0x40], 0
je 0x14005ba73
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x14005b9f0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov rax, qword [rax + 0x3a0]
cmp qword [rsp + 0x40], rax
je 0x14005ba73
call fcn.140044330
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
mov rcx, qword [rsp + 0x40]
call fcn.140057fa0
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140055820
mov rcx, qword [rsp + 0x40]
call fcn.1400517e0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x3c0], 0
jne 0x14005ba56
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140058160
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x160], 2
jne 0x14005ba73
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1e14], 1
cmp qword [rsp + 0x40], 0
je 0x14005ba8b
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x14005bbd8
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x14005bbd8
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x398], 0
je 0x14005bb12
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
jne 0x14005bb12
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x1000000
test eax, eax
je 0x14005bb12
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x14000000
test eax, eax
jne 0x14005bb12
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x398]
mov qword [rsp + 0x48], rax
jmp 0x14005babc
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
cmp qword [rsp + 0x48], rax
je 0x14005bb57
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400517e0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x3b8], rcx
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
je 0x14005bb9c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1e14]
xor eax, 1
mov dword [rsp + 0x70], eax
jmp 0x14005bba4
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jne 0x14005bbcf
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
movsxd rcx, dword [rsp + 0x50]
mov dword [rax + rcx*4 + 0x3c0], 0
mov ecx, dword [rsp + 0x50]
call fcn.140057fe0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400cf8b0
add rsp, 0xf8
ret