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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x4c], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x13c], esp
mov dword [esi + 0x148], 0xffffffff
lea ecx, [esi + 0x140]
mov dword [esi + 0x144], 0x1003afc0
mov edx, dword fs:[0]
mov dword [esi + 0x140], edx
mov dword fs:[0], ecx
test eax, eax
je 0x1003aac1
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
test eax, eax
je 0x1003aac1
mov ebx, eax
xorps xmm0, xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
mov dword [esi + 0x130], 0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [eax + 0xec]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x14]
movss dword [edx], xmm0
mov ecx, dword [eax + 8]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x18]
movsd xmm0, qword [eax]
movsd qword [esi + 0x40], xmm0
movss xmm0, dword [ebx + 0x104]
movaps xmmword [esi + 0xc0], xmm0
mov dword [esi + 0x3c], 4
mov dword [ecx], 4
movss xmm0, dword [edx]
xor eax, eax
xorps xmm5, xmm5
ucomiss xmm0, xmm5
jbe 0x1003aac3
mov edi, dword [ebp + 0x24]
xorps xmm0, xmm0
movss dword [esi + 0xc], xmm0
mov dword [esi + 0x50], 4
mov dword [esi + 8], ebx
nop word cs:[eax + eax]
movaps xmm1, xmmword [esi + 0xc0]
subss xmm1, dword [esi + 0xc]
mov eax, dword [ebp + 0xc]
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
movss xmm2, dword [esi + 0x48]
addss xmm0, xmm2
movsd xmm3, qword [eax]
movaps xmmword [esi + 0xc0], xmm1
shufps xmm1, xmm1, 0
mulps xmm1, xmm3
movsd xmm3, qword [esi + 0x40]
addps xmm1, xmm3
movlps qword [esi + 0xd4], xmm1
movss dword [esi + 0xdc], xmm0
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0x28c]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov eax, dword [eax]
mov eax, dword [eax]
movsd xmm4, qword [esi + 0x40]
movsd qword [esi + 0x70], xmm4
subss xmm0, xmm2
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], 0
subps xmm1, xmm3
movlps qword [esi + 0x80], xmm1
movaps xmm2, xmm1
mulss xmm2, xmm1
addss xmm2, xmm5
shufps xmm1, xmm1, 0x55
mulss xmm1, xmm1
addss xmm1, xmm2
movss dword [esi + 0x88], xmm0
mulss xmm0, xmm0
addss xmm0, xmm1
ucomiss xmm0, xmm5
mov dword [esi + 0x64], eax
mov ecx, dword [0x10356860]
xorps xmm0, xmm0
lea eax, [esi + 0x8c]
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov byte [esi + 0xb4], 1
setp al
setne dl
or dl, al
mov byte [esi + 0xb5], dl
mov eax, dword [ecx]
lea ebx, [esi + 0xe0]
push ebx
lea edx, [esi + 0x60]
push edx
push 0x4600400b
lea edx, [esi + 0x70]
push edx
call dword [eax + 0x14]
test edi, edi
je 0x1003a702
lea eax, [esi + 0x6c]
push eax
push edi
push ebx
lea eax, [esi + 0xd4]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.1003a000
add esp, 0x14
mov ecx, dword [0x10356864]
movsx eax, word [esi + 0x120]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
movss xmm0, dword [esi + 0x10c]
ucomiss xmm0, dword [0x10154df4]
mov ebx, dword [esi + 8]
jne 0x1003a72f
jnp 0x1003aac1
movss xmm1, dword [eax + 0x58]
movss dword [esi + 0x38], xmm1
mulss xmm0, dword [esi + 0xc0]
movss xmm1, dword [esi + 0xc]
addss xmm1, xmm0
movss dword [esi + 0xc], xmm1
movaps xmm0, xmm1
divss xmm0, dword [0x10156170]
movss xmm1, dword [ebx + 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 [esi + 0x5c]
mov eax, dword [ebp + 0x14]
movss xmm0, dword [eax]
mulss xmm0, dword [esi + 0x5c]
movss dword [eax], xmm0
mov edi, dword [esi + 0x12c]
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [0x10156174]
jbe 0x1003a7e0
movss xmm1, dword [esi + 0x38]
movss xmm0, dword [ebx + 0xf8]
ucomiss xmm0, dword [0x10154e10]
jne 0x1003aac1
jp 0x1003aac1
movss xmm0, dword [0x10155fa4]
ucomiss xmm0, xmm1
jbe 0x1003a7f2
jmp 0x1003aac1
movss xmm0, dword [0x10155fa4]
ucomiss xmm0, dword [esi + 0x38]
ja 0x1003aac1
mov ebx, dword [esi + 0x124]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x260]
test ebx, ebx
je 0x1003a840
cmp ebx, 0xa
je 0x1003a840
mov ecx, dword [0x1035678c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x20]
mov ebx, dword [esi + 0x12c]
mov ebx, dword [ecx + ebx]
mov edx, dword [edx]
cmp ebx, dword [ecx + edx]
setne cl
and al, cl
cmp al, 1
jne 0x1003a840
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x260]
test al, al
jne 0x1003aada
nop
cmp dword [esi + 0x50], 0
mov ebx, dword [esi + 8]
je 0x1003aac1
mov eax, dword [0x10356a5c]
test al, 1
je 0x1003a904
test al, 2
lea edi, [esi + 0xe0]
je 0x1003a9e1
mov ecx, dword [0x10356a60]
mov dword [esi + 0x148], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x148], 0xffffffff
call eax
fstp xword [esi + 0x50]
mov ecx, dword [0x10356a58]
mov eax, dword [ecx]
call dword [eax + 0x30]
sub esp, 0x24
fld xword [esi + 0x50]
fstp dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov ecx, dword [esi + 0x4c]
call fcn.10039d00
mov edx, dword [esi + 0x3c]
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x50], edx
mov dword [ecx], edx
test al, al
je 0x1003aac1
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
movss xmm0, dword [eax]
xorps xmm5, xmm5
ucomiss xmm0, xmm5
mov edi, dword [ebp + 0x24]
ja 0x1003a5d0
jmp 0x1003aac1
or eax, 1
mov dword [0x10356a5c], eax
mov ecx, dword [0x1035684c]
mov eax, 0x616b05c3
mov edx, 0x8aa4d116
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, 0x848b45db
mov edx, 0xe7f827b6
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov eax, 0x2b7b1f0e
mov edx, 0x1f15af7
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov eax, 0x4b491e2d
mov edx, 0x6ce1aba8
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
mov eax, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x74], edx
mov dword [esi + 0x70], eax
mov eax, 0xe1f91abe
mov edx, 0x939b52d2
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], eax
mov eax, 0x74157067
mov edx, 0x6d9d2f95
mov dword [esi + 0x84], edx
mov dword [esi + 0x80], eax
mov eax, 0x4b3a6a48
mov edx, 0x6ce1aba8
mov dword [esi + 0x8c], edx
mov dword [esi + 0x88], eax
lea eax, [esi + 0x70]
xor edx, edx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x148], 0
lea edx, [esi + 0x10]
push edx
call eax
mov dword [0x10356a58], eax
mov eax, dword [0x10356a5c]
mov ebx, dword [esi + 8]
jmp 0x1003a85a
or eax, 2
mov dword [0x10356a5c], eax
mov ecx, dword [0x1035684c]
mov eax, 0x616b05c3
mov edx, 0x8aa4d116
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, 0x949b45db
mov edx, 0xe7fe3ebe
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov eax, 0x1a700038
mov edx, 0xcef5bf0
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov eax, 0x2555033c
mov edx, 0x6ce1aba8
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
mov eax, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x74], edx
mov dword [esi + 0x70], eax
mov eax, 0xe1f91abe
mov edx, 0x939b52d2
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], eax
mov eax, 0x74157067
mov edx, 0x6d9d2f95
mov dword [esi + 0x84], edx
mov dword [esi + 0x80], eax
mov eax, 0x4b3a6a48
mov edx, 0x6ce1aba8
mov dword [esi + 0x8c], edx
mov dword [esi + 0x88], eax
lea eax, [esi + 0x70]
xor edx, edx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x148], 1
lea edx, [esi + 0x10]
push edx
call eax
mov ecx, eax
mov dword [0x10356a60], eax
mov ebx, dword [esi + 8]
lea edi, [esi + 0xe0]
jmp 0x1003a878
xor eax, eax
mov ecx, dword [esi + 0x140]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
mov eax, dword [esi + 0x124]
sub esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp], edi
call fcn.10039090
mov eax, dword [esi + 0x130]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x124]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov al, 1
jmp 0x1003aac3