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

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x138
mov rax, qword [0x140d8e080]
xor rax, rsp
mov qword [rsp + 0x128], rax
call fcn.140087800
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xa3]
test eax, eax
je 0x14016153c
jmp 0x1401619ac
mov rax, qword [0x14119a258]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x140]
and eax, 3
mov ecx, eax
call fcn.1401086d0
movzx eax, al
test eax, eax
jne 0x14016157c
mov r8d, 0x54f
lea rdx, [0x1402fc160]
lea rcx, [0x1402fc0a0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
movss xmm0, dword [0x140d78bdc]
movss dword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
mov eax, dword [rsp + 0x140]
and eax, 2
test eax, eax
je 0x140161759
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xec]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xec]
addss xmm0, dword [rcx + 0x114]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xe8]
addss xmm0, dword [rsp + 0x40]
movss xmm2, dword [rsp + 0x50]
movaps xmm1, xmm0
lea rcx, [rsp + 0xc0]
call fcn.140087790
mov qword [rsp + 0x78], rax
movss xmm2, dword [rsp + 0x54]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0xe8]
lea rcx, [rsp + 0xc8]
call fcn.140087790
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x108]
call fcn.1400afef0
nop
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x44]
lea rcx, [rsp + 0xd0]
call fcn.140087790
movss xmm1, dword [0x140d78ed4]
mov rcx, rax
call fcn.140121220
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.1401214b0
movzx eax, al
test eax, eax
jne 0x14016168e
jmp 0x1401619ac
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0x98], rax
movss xmm1, dword [0x140d78bdc]
mov ecx, reloc.WLDAP32.dll_Ordinal_27
call fcn.14010eb10
mov dword [rsp + 0x58], eax
movss xmm2, dword [rsp + 0x114]
movss xmm1, dword [rsp + 0x108]
lea rcx, [rsp + 0xd8]
call fcn.140087790
mov qword [rsp + 0x88], rax
movss xmm2, dword [rsp + 0x10c]
movss xmm1, dword [rsp + 0x108]
lea rcx, [rsp + 0xe0]
call fcn.140087790
mov qword [rsp + 0x90], rax
movss xmm0, dword [0x140d78bdc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.1401409f0
nop
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3084]
test eax, eax
je 0x140161754
lea rcx, [0x1402fc150]
call fcn.14012aff0
nop
jmp 0x1401619ac
mov eax, dword [rsp + 0x140]
and eax, 1
test eax, eax
je 0x1401619ac
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x20]
addss xmm0, dword [rcx + 0x28]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x1d88], 0
jle 0x1401617db
mov rax, qword [rsp + 0x48]
add rax, 0x1d88
mov rcx, rax
call fcn.14012d720
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x18]
cmp dword [rax], ecx
jne 0x1401617db
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rsp + 0x3c]
addss xmm0, dword [rax + 0x128]
movss dword [rsp + 0x3c], xmm0
mov eax, dword [rsp + 0x140]
and eax, 4
test eax, eax
je 0x1401617fc
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1c0]
mov qword [rsp + 0x70], rax
jmp 0x140161805
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14016181d
call fcn.14015a610
nop
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xec]
addss xmm0, dword [rsp + 0x40]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x5c]
lea rcx, [rsp + 0xe8]
call fcn.140087790
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
movss xmm2, dword [rax + 0xec]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0xf0]
call fcn.140087790
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x118]
call fcn.1400afef0
nop
movss xmm2, dword [rsp + 0x44]
xorps xmm1, xmm1
lea rcx, [rsp + 0xf8]
call fcn.140087790
movss xmm1, dword [0x140d78ed4]
mov rcx, rax
call fcn.140121220
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x118]
call fcn.1401214b0
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140161988
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xb8], rax
movss xmm1, dword [0x140d78bdc]
mov ecx, reloc.WLDAP32.dll_Ordinal_27
call fcn.14010eb10
mov dword [rsp + 0x60], eax
movss xmm2, dword [rsp + 0x11c]
movss xmm1, dword [rsp + 0x120]
lea rcx, [rsp + 0x100]
call fcn.140087790
mov qword [rsp + 0xb0], rax
movss xmm0, dword [0x140d78bdc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0xb0]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0xb8]
call fcn.1401409f0
nop
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3084]
test eax, eax
je 0x140161988
xor r8d, r8d
lea rdx, [0x1402fc310]
lea rcx, [rsp + 0x118]
call fcn.14012b070
nop
cmp qword [rsp + 0x68], 0
je 0x1401619ac
call fcn.14015a6a0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rcx + 0xec]
movss dword [rax + 0x1c], xmm0
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1402024e0
add rsp, 0x138
ret