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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x140383d78]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rax, qword [0x140384660]
mov qword [rsp + 0x30], rax
movss xmm2, dword [0x14015d2c8]
movss xmm1, dword [0x14015d2c8]
lea rcx, [rsp + 0x90]
call fcn.1400281e0
mov rcx, qword [rsp + 0x118]
add rcx, 0x1d8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x98]
call fcn.14003c150
mov qword [rsp + 0x60], rax
movss xmm2, dword [0x14015d2c8]
movss xmm1, dword [0x14015d2c8]
lea rcx, [rsp + 0xa0]
call fcn.1400281e0
mov rcx, qword [rsp + 0x118]
add rcx, 0x1d0
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xa8]
call fcn.14003c1b0
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd8]
call fcn.1400281a0
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x128]
and eax, 0x15
test eax, eax
jne 0x1400416d5
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1400416d5
mov eax, dword [rsp + 0x128]
or eax, 1
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x128]
and eax, 0x2a
test eax, eax
jne 0x14004171e
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax + 0x94]
test eax, eax
je 0x140041700
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_32
jmp 0x140041708
mov dword [rsp + 0x38], 2
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x128]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax]
comiss xmm0, dword [rsp + 0xd8]
jb 0x140041752
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0xe0]
comiss xmm0, dword [rax + 8]
jb 0x140041752
mov byte [rsp + 0x20], 1
jmp 0x140041757
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
comiss xmm0, dword [rsp + 0xdc]
jb 0x140041795
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0xe4]
comiss xmm0, dword [rax + 0xc]
jb 0x140041795
mov byte [rsp + 0x21], 1
jmp 0x14004179a
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x26], al
mov rcx, qword [rsp + 0x120]
call fcn.140028340
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x37c4]
mulss xmm1, dword [0x14015d2cc]
addss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
lea rcx, [rsp + 0xd8]
call fcn.140028340
movss xmm1, dword [rsp + 0x44]
comiss xmm0, xmm1
jb 0x1400417ee
mov byte [rsp + 0x22], 1
jmp 0x1400417f3
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x25], al
mov rcx, qword [rsp + 0x120]
call fcn.14005df60
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x37c8]
mulss xmm1, dword [0x14015d2cc]
addss xmm0, xmm1
movss dword [rsp + 0x48], xmm0
lea rcx, [rsp + 0xd8]
call fcn.14005df60
movss xmm1, dword [rsp + 0x48]
comiss xmm0, xmm1
jb 0x140041847
mov byte [rsp + 0x23], 1
jmp 0x14004184c
mov byte [rsp + 0x23], 0
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x128]
and eax, 1
test eax, eax
je 0x140041929
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140041929
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [rax]
ja 0x140041893
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x1400418ce
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x37c4]
mov rax, qword [rsp + 0x118]
subss xmm0, dword [rax + 0x10]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041410
jmp 0x140041924
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 8]
comiss xmm0, dword [rsp + 0xe0]
jb 0x140041924
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rcx + 0x37c4]
mov rax, qword [rsp + 0x118]
subss xmm0, dword [rax + 0x10]
movss xmm2, dword [0x14015d2c8]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041410
jmp 0x1400419f6
mov eax, dword [rsp + 0x128]
and eax, 4
test eax, eax
je 0x140041940
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140041952
mov eax, dword [rsp + 0x128]
and eax, 0x10
test eax, eax
je 0x1400419f6
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400419b2
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax]
addss xmm0, dword [rcx + 8]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x118]
add rax, 0x1d0
mov rcx, rax
call fcn.140028340
movss xmm1, dword [rsp + 0x4c]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14015d2c4]
call fcn.14003cb70
movss dword [rsp + 0x3c], xmm0
jmp 0x1400419c4
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x118]
movss xmm0, dword [rsp + 0x50]
subss xmm0, dword [rax + 0x10]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041410
mov eax, dword [rsp + 0x128]
and eax, 2
test eax, eax
je 0x140041acc
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x140041acc
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rsp + 0xdc]
comiss xmm0, dword [rax + 4]
ja 0x140041a35
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140041a71
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 0x37c8]
mov rax, qword [rsp + 0x118]
subss xmm0, dword [rax + 0x14]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041470
jmp 0x140041ac7
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 0xc]
comiss xmm0, dword [rsp + 0xe4]
jb 0x140041ac7
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc]
addss xmm0, dword [rcx + 0x37c8]
mov rax, qword [rsp + 0x118]
subss xmm0, dword [rax + 0x14]
movss xmm2, dword [0x14015d2c8]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041470
jmp 0x140041b9b
mov eax, dword [rsp + 0x128]
and eax, 8
test eax, eax
je 0x140041ae3
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140041af5
mov eax, dword [rsp + 0x128]
and eax, 0x20
test eax, eax
je 0x140041b9b
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140041b56
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0xc]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x118]
add rax, 0x1d0
mov rcx, rax
call fcn.14005df60
movss xmm1, dword [rsp + 0x54]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x14015d2c4]
call fcn.14003cb70
movss dword [rsp + 0x40], xmm0
jmp 0x140041b69
mov rax, qword [rsp + 0x120]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x58], xmm0
mov rax, qword [rsp + 0x118]
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rax + 0x14]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x118]
call fcn.140041470
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0xf0]
call fcn.14004c720
mov rax, qword [rsp + 0x118]
add rax, 0x5c
mov r8, rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xe8]
call fcn.14003c1b0
mov eax, dword [rsp + 0x128]
and eax, 0x40
test eax, eax
jne 0x140041ce6
mov rax, qword [rsp + 0x118]
mov eax, dword [rax + 0xc]
and eax, 0x1000000
test eax, eax
je 0x140041ce6
mov eax, dword [rsp + 0x28]
and eax, 0x14
test eax, eax
je 0x140041c17
mov eax, dword [rsp + 0x28]
and eax, 0xffffffea
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0x28
test eax, eax
je 0x140041c30
mov eax, dword [rsp + 0x28]
and eax, 0xffffffd5
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x120]
add rax, 8
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14003c1b0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x120]
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14003c1b0
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc8]
call fcn.1400281a0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x340]
mov qword [rsp + 0x88], rax
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xc0]
call fcn.1400415c0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14003c320
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xe8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401552b0
add rsp, 0x108
ret