Function at 0x10044810
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
lea eax, [esi + 0x70]
mov dword [esi + 0x74], 0x10047910
mov edx, dword fs:[0]
mov dword [esi + 0x70], edx
mov dword fs:[0], eax
mov eax, dword [0x1035678c]
mov edx, dword [eax]
mov eax, dword [eax + 0x30]
mov edx, dword [edx]
movsd xmm0, qword [eax + edx]
movaps xmmword [esi + 0x50], xmm0
movss xmm0, dword [eax + edx + 8]
movaps xmmword [esi + 0x40], xmm0
mov eax, dword [0x10356790]
add ecx, 0x14
mov dword [esp], ecx
mov ecx, eax
call fcn.10015610
sub esp, 4
test al, al
je 0x10044a54
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [ecx]
test byte [eax + ecx], 1
je 0x10044a54
mov eax, dword [0x10356b4c]
test al, 1
je 0x10044a67
test al, 2
je 0x10044aee
mov edi, dword [ebp + 8]
mov ecx, dword [0x10356b48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x78], 0xffffffff
call eax
fstp dword [esi + 0x3c]
movss xmm0, dword [esi + 0x3c]
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x170]
mov ecx, dword [ecx]
mulss xmm0, dword [eax + ecx]
movss dword [esi + 0x30], xmm0
xor ebx, ebx
xorps xmm4, xmm4
movaps xmm2, xmmword [esi + 0x50]
movaps xmm3, xmmword [esi + 0x40]
jmp 0x10044924
divss xmm1, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0
movaps xmm2, xmmword [esi + 0x50]
mulps xmm2, xmm0
movaps xmm3, xmmword [esi + 0x40]
mulss xmm3, xmm1
inc ebx
cmp ebx, 0xf
je 0x10044a02
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, xmm4
movaps xmm1, xmm2
shufps xmm1, xmm2, 0x55
mulss xmm1, xmm1
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
cvtss2sd xmm0, xmm0
ucomisd xmm0, qword [0x10154e08]
movaps xmmword [esi + 0x50], xmm2
movaps xmmword [esi + 0x40], xmm3
jb 0x10044970
sqrtsd xmm0, xmm0
jmp 0x10044982
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
fstp qword [esi + 0x60]
movsd xmm0, qword [esi + 0x60]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x10155fa4]
ucomiss xmm0, xmm1
jae 0x10044a07
mov ecx, dword [0x10356b50]
mov eax, dword [ecx]
movss dword [esi + 0x34], xmm1
call dword [eax + 0x30]
movss xmm2, dword [esi + 0x34]
fstp dword [esi + 0x38]
movss xmm0, dword [esi + 0x38]
maxss xmm0, xmm2
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mulss xmm0, dword [esi + 0x30]
mulss xmm0, dword [edx + 0x20]
movaps xmm1, xmm2
subss xmm1, xmm0
xorps xmm4, xmm4
maxss xmm1, xmm4
ucomiss xmm1, xmm2
jne 0x10044900
jp 0x10044900
movaps xmm2, xmmword [esi + 0x50]
movaps xmm3, xmmword [esi + 0x40]
jmp 0x1004491a
mov ebx, 0xf
mov ecx, dword [0x103567a8]
bswap ecx
mov eax, dword [0x103567ac]
add eax, ecx
mov ecx, dword [0x103567b0]
ror eax, cl
mov ecx, 0xf
sub ecx, dword [eax + 0x4cb0]
cmp ebx, ecx
jg 0x10044a4d
mov eax, dword [0x103567a8]
bswap eax
mov edx, dword [0x103567ac]
add edx, eax
mov ecx, dword [0x103567b0]
ror edx, cl
cmp dword [edx + 0x4cb0], 0
jne 0x10044a54
xorps xmm0, xmm0
movlps qword [edi + 0x24], xmm0
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
or eax, 1
mov dword [0x10356b4c], eax
mov ecx, dword [0x1035684c]
mov eax, 0x636b15d6
mov edx, 0x99a6d505
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov edx, 0xe19775d7
mov eax, 0x939b52d2
mov edi, 0x939b52d2
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edx
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edx
mov edx, 0xe1f91abe
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edx
lea eax, [esi + 0x20]
xor edx, edx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x78], 0
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356b48], eax
mov eax, dword [0x10356b4c]
test al, 2
jne 0x100448af
or eax, 2
mov dword [0x10356b4c], eax
mov ecx, dword [0x1035684c]
mov eax, 0x766b15d6
mov edx, 0x9eb5d303
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov edx, 0x859c7fce
mov eax, 0x939b52d2
mov edi, 0x939b52d2
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edx
mov edx, 0x53463a5
mov edi, 0xedc5bc77
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edx
mov edx, 0xe1f91abe
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edx
lea eax, [esi + 0x20]
xor edx, edx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x78], 1
lea edx, [esi + 0x10]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356b50], eax
jmp 0x100448af