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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
mov eax, dword [0x102a2000]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100403e1
mov edx, dword [eax + 0x184]
cmp byte [edx + ecx], 0
je 0x10040400
xor ebx, ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100ea0d3
mov eax, ebx
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
mov edi, dword [esp + 0x100]
xor ebx, ebx
test edi, edi
je 0x100403e3
mov edx, dword [eax + 0x1c]
cmp dword [edx + ecx], 0
jle 0x100403e3
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
test eax, eax
je 0x100403e1
mov esi, eax
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x110]
xorps xmm0, xmm0
movups xmmword [esp + 0xd4], xmm0
movups xmmword [esp + 0xc4], xmm0
movups xmmword [esp + 0xb4], xmm0
movups xmmword [esp + 0xa4], xmm0
movups xmmword [esp + 0x94], xmm0
mov dword [esp + 0xe4], 0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esi + 0xec]
mov ebp, dword [esp + 0x10c]
movss dword [ebp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x88], xmm0
movss xmm0, dword [esi + 0x104]
movups xmmword [esp + 0x10], xmm0
mov eax, dword [0x102a22ac]
mov eax, dword [eax + 0x108]
xor ecx, ecx
cmp word [eax + edi], 0x1f
setne cl
shl ecx, 2
mov dword [esp + 0x30], ecx
mov dword [edx], 4
movss xmm0, dword [ebp]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
jbe 0x100403e1
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x11c]
mov edi, dword [esp + 0x104]
xorps xmm0, xmm0
movss dword [esp], xmm0
nop dword [eax + eax]
movups xmm1, xmmword [esp + 0x10]
subss xmm1, dword [esp]
movss xmm0, dword [edi + 8]
mulss xmm0, xmm1
movss xmm2, dword [esp + 0x90]
addss xmm0, xmm2
movsd xmm3, qword [edi]
movups xmmword [esp + 0x10], xmm1
shufps xmm1, xmm1, 0
mulps xmm1, xmm3
movsd xmm3, qword [esp + 0x88]
addps xmm1, xmm3
movlps qword [esp + 0x7c], xmm1
movss dword [esp + 0x84], xmm0
mov eax, dword [0x102a22ac]
mov ecx, dword [eax + 0x30c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov eax, dword [eax]
movsd xmm4, qword [esp + 0x88]
movsd qword [esp + 0x34], xmm4
subss xmm0, xmm2
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
subps xmm1, xmm3
movlps qword [esp + 0x44], xmm1
movaps xmm2, xmm1
mulss xmm2, xmm1
addss xmm2, xmm5
shufps xmm1, xmm1, 0x55
mulss xmm1, xmm1
addss xmm1, xmm2
movss dword [esp + 0x4c], xmm0
mulss xmm0, xmm0
addss xmm0, xmm1
ucomiss xmm0, xmm5
mov dword [esp + 0x24], eax
mov ecx, dword [0x102a23c0]
xorps xmm0, xmm0
lea eax, [esp + 0x50]
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov byte [esp + 0x78], 1
setp al
setne dl
or dl, al
mov byte [esp + 0x79], dl
mov eax, dword [ecx]
lea edi, [esp + 0x94]
push edi
lea edx, [esp + 0x24]
push edx
push 0x4600400b
lea edx, [esp + 0x40]
push edx
call dword [eax + 0x14]
cmp ebx, 0xdddddddd
je 0x10040643
sub esp, 4
push ebx
push edi
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.1003fec0
add esp, 0x14
mov ecx, dword [0x102a23c4]
movsx eax, word [esp + 0xd4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
movss xmm0, dword [esp + 0xc0]
ucomiss xmm0, dword [0x10147700]
jne 0x1004066f
jnp 0x100403e1
movss xmm1, dword [eax + 0x58]
movss dword [esp + 8], xmm1
mulss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp]
addss xmm1, xmm0
movss dword [esp], xmm1
movaps xmm0, xmm1
divss xmm0, dword [0x10149210]
movss xmm1, dword [esi + 0x108]
cvtss2sd xmm0, xmm0
cvtss2sd xmm1, xmm1
sub esp, 0x10
movsd qword [esp], xmm1
movsd qword [esp + 8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
add esp, 0x10
fstp dword [esp + 0xc]
movss xmm0, dword [ebp]
mulss xmm0, dword [esp + 0xc]
movss dword [ebp], xmm0
mov edi, dword [esp + 0xe0]
cmp edi, 0xdddddddd
je 0x10040734
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp + 0xd8]
add ebp, 0xfffffff8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x260]
cmp ebp, 0xfffffff9
mov ebp, esi
mov esi, ebx
mov ebx, dword [esp + 0x11c]
jb 0x10040734
test al, al
je 0x10040734
mov eax, dword [0x102a22ac]
mov ecx, dword [eax]
mov eax, dword [eax + 0x20]
mov ecx, dword [ecx]
mov ecx, dword [eax + ecx]
cmp dword [eax + edi], ecx
je 0x10040734
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x260]
test al, al
jne 0x100407f0
movss xmm0, dword [esp]
ucomiss xmm0, dword [0x10149214]
jbe 0x10040772
movss xmm0, dword [esi + 0xf8]
ucomiss xmm0, dword [0x10147b30]
mov edi, dword [esp + 0x104]
ja 0x100403e1
movss xmm0, dword [0x10148fc4]
ucomiss xmm0, dword [esp + 8]
jbe 0x1004078c
jmp 0x100403e1
movss xmm0, dword [0x10148fc4]
ucomiss xmm0, dword [esp + 8]
mov edi, dword [esp + 0x104]
ja 0x100403e1
cmp dword [esp + 4], 0
je 0x100403e1
sub esp, 8
push ebp
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xac]
push eax
push esi
call fcn.1003fba0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x110]
mov dword [esp + 4], edx
mov dword [ecx], edx
test al, al
je 0x100403e1
mov eax, dword [esp + 0x108]
mov byte [eax], 0
movss xmm0, dword [ebp]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
ja 0x10040500
jmp 0x100403e1
mov eax, dword [esp + 0xd8]
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp], edi
call fcn.1003f2c0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x118]
mov dword [ecx], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x114]
mov dword [ecx], eax
mov bl, 1
jmp 0x100403e3