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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x100c9380]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xffffffff
mov byte [esp + 0x5c], 0
mov ecx, dword [edi + 0x718]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x738], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x73c], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x740], eax
mov ecx, dword [0x100f481c]
mov eax, dword [0x100c9400]
add ecx, 0xffffffc6
xor ecx, 0x911388c8
cmp dword [ecx + eax], 8
je 0x10031c77
mov eax, dword [0x100c9b10]
mov ecx, dword [eax + 0x30]
test cl, 2
je 0x10031c77
test byte [0x100c9408], 1
jne 0x10031c77
cmp byte [0x100d06b4], 0
je 0x10031c6a
and ecx, 0xfffffffd
mov dword [eax + 0x30], ecx
mov eax, dword [0x100c9b10]
cmp byte [0x100d073c], 0
je 0x10031c77
or dword [eax + 0x30], 4
call fcn.10090800
mov eax, dword [0x100f47d0]
mov ecx, dword [0x100c9400]
add eax, 0xffffffd9
xor eax, 0x911388b5
mov dword [esp + 0x10], 0
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0x100d0b74]
movq qword [esp + 0x18], xmm0
cmp eax, 0xffffffff
je 0x10031e68
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d9768]
test al, al
je 0x10031e68
mov eax, dword [0x100f48bc]
add eax, 0xffffff9e
xor eax, 0x911388f0
mov eax, dword [eax + ecx]
mov ecx, dword [0x100f45e4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x10031e68
mov ecx, dword [0x100f4698]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov ecx, dword [0x100f487c]
mov eax, dword [0x100c9400]
add ecx, 0xffffffae
xor ecx, 0x911388e0
cmp dword [0x100c9adc], 0
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [ecx + eax]
movss dword [esp + 8], xmm0
jle 0x10031e34
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x18]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm3
movss dword [esp + 0xc], xmm4
movaps xmm1, xmm3
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.1001e330
movss xmm1, dword [0x100bf1f8]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
jae 0x10031e34
mov ecx, dword [0x100f469c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm2, dword [esp + 0x14]
mov eax, dword [0x100f463c]
movaps xmm1, xmm2
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
maxss xmm0, xmm2
movss xmm4, dword [esp + 0xc]
movss xmm3, dword [esp + 0x28]
mulss xmm0, dword [esp + 8]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
maxss xmm1, dword [0x100bf180]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10031e19
divss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm4, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x24], xmm2
jmp 0x10031e1f
movss xmm2, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [0x100c9adc]
jl 0x10031d61
mov eax, dword [0x100f4650]
mov ecx, dword [eax + 0x4cb0]
mov eax, 0xd
sub eax, ecx
cmp dword [esp + 0x10], eax
jg 0x10031e50
test ecx, ecx
jne 0x10031e68
mov eax, dword [0x100c9b10]
mov dword [eax + 0x28], 0
mov eax, dword [0x100c9b10]
mov dword [eax + 0x24], 0
push ecx
call fcn.10090f40
call fcn.10095710
mov ecx, dword [edi + 0x718]
lea esi, [edi + 0x744]
mov eax, dword [edi + 0x72c]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x730]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x734]
mov dword [ecx + 0x14], eax
movss xmm0, dword [edi + 0x72c]
mulss xmm0, dword [0x100bf1c8]
movss dword [esp + 0x14], xmm0
call fcn.1001e310
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x730]
mulss xmm0, dword [0x100bf1c8]
movss dword [esp + 8], xmm0
test esi, esi
je 0x10031f11
call fcn.1001e310
mulss xmm0, dword [esp + 0x10]
movss dword [esi], xmm0
movss xmm0, dword [esp + 8]
call fcn.1001e320
mulss xmm0, dword [esp + 0x10]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.1001e320
xorps xmm0, xmmword [0x100bf5b0]
movss dword [esi + 8], xmm0
mov ecx, dword [0x100c9400]
test ecx, ecx
je 0x10032106
cmp byte [0x100c9404], 0
je 0x10032106
mov eax, dword [0x100f4650]
cmp dword [eax + 0x174], 0
jg 0x10031f6a
movq xmm0, qword [0x100c9418]
mov eax, dword [0x100c9420]
movq qword [esp + 0x18], xmm0
movss xmm0, dword [0x100c9418]
movss xmm2, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
movss xmm1, dword [esp + 0x20]
jmp 0x1003210f
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x100c9400]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [0x100f48a8]
add ecx, 0xffffffa3
xor ecx, 0x911388eb
movq xmm0, qword [eax]
movq qword [esp + 0x70], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov eax, dword [0x100c9400]
movss xmm0, dword [ecx + eax + 0x30]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + eax + 0x18]
mov dword [ecx + eax + 0x30], 0x3f000000
mov ecx, dword [0x100f48a8]
mov eax, dword [0x100c9400]
add ecx, 0xffffffa3
xor ecx, 0x911388eb
movss dword [esp + 8], xmm0
mov dword [ecx + eax + 0x18], 0
mov edx, dword [0x100f47c8]
mov ecx, dword [0x100c9400]
add edx, 0xffffffdb
mov eax, dword [0x100f4708]
xor edx, 0x911388b3
add edx, ecx
push edx
call eax
movss xmm0, dword [0x100c9428]
lea ecx, [esp + 0x18]
mov eax, dword [0x100f4704]
push ecx
mov ecx, dword [0x100c9400]
mov dword [esp + 0x1c], 0
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x24], 0
call eax
mov edx, dword [0x100c9400]
mov ecx, dword [0x100f47c8]
mov eax, dword [0x100f4894]
add ecx, 0xffffffdb
xor ecx, 0x911388b3
add eax, 0xffffffa8
xor eax, 0x911388e6
movss xmm0, dword [ecx + edx]
addss xmm0, dword [eax + edx]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [ecx + edx + 4]
addss xmm0, dword [eax + edx + 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx + edx + 8]
addss xmm0, dword [eax + edx + 8]
mov eax, dword [0x100f48a8]
add eax, 0xffffffa3
xor eax, 0x911388eb
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 8]
movss dword [eax + edx + 0x18], xmm0
mov ecx, dword [0x100f48a8]
mov eax, dword [0x100c9400]
add ecx, 0xffffffa3
movss xmm0, dword [esp + 0x14]
xor ecx, 0x911388eb
movss dword [ecx + eax + 0x30], xmm0
lea ecx, [esp + 0x64]
mov eax, dword [0x100f4708]
push ecx
mov ecx, dword [0x100c9400]
call eax
mov eax, dword [0x100f4704]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [0x100c9400]
call eax
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [esp + 0xc]
jmp 0x1003210f
xorps xmm0, xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
mov eax, dword [edi + 8]
mov dword [edi + 0x66c], 0
mov dword [edi + 0x6c8], 0
mov dword [edi + 0x6c4], 0xffffffff
mov dword [edi + 0x6cc], 0xffffffff
mov byte [edi + 0x6d0], 0
mov byte [edi + 0x2c], 0
mov ecx, dword [0x100f48b8]
add ecx, 0xffffff9f
xor ecx, 0x911388ef
mov eax, dword [ecx + eax]
mov ecx, dword [0x100f45e4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov dword [edi + 0x66c], ecx
test ecx, ecx
je 0x100324e9
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, dword [edi + 0x66c]
mov dword [edi + 0x6c8], eax
mov edx, dword [0x100f48d0]
add edx, 0xffffff99
xor edx, 0x911388f5
mov edx, dword [edx + esi]
mov dword [edi + 0x6c4], edx
mov eax, dword [eax + 0xc8]
mov dword [edi + 0x6cc], eax
cmp eax, 9
je 0x100321d3
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x75c]
call eax
mov eax, dword [edi + 0x6cc]
test eax, eax
je 0x1003226d
cmp eax, 7
je 0x1003226d
cmp eax, 9
je 0x1003226d
mov eax, dword [edi + 8]
lea edx, [esp + 0x50]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
mov eax, dword [edi + 0x6c8]
mov dword [esp + 0x34], 0
movss xmm2, dword [eax + 0x104]
movaps xmm1, xmm2
mov dword [esp + 0x44], 0x3f800000
mulss xmm1, dword [edi + 0x744]
movaps xmm0, xmm2
mov dword [esp + 0x48], 0x3f800000
mulss xmm0, dword [edi + 0x748]
mov byte [esp + 0x4c], 1
mulss xmm2, dword [edi + 0x74c]
addss xmm1, dword [edi + 0x20]
addss xmm0, dword [edi + 0x24]
addss xmm2, dword [edi + 0x28]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm2
call fcn.10093ec0
movups xmm0, xmmword [esp + 0x50]
mov ecx, dword [edi + 8]
movups xmmword [edi + 0x750], xmm0
mov edx, dword [0x100f4840]
mov eax, dword [0x100f463c]
add edx, 0xffffffbd
xor edx, 0x911388d1
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [edx + ecx]
jb 0x100322cc
mov ecx, dword [0x100f45e0]
mov esi, dword [0x100f4668]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100322bf
mov eax, dword [esi]
test eax, eax
je 0x100322bf
mov al, byte [eax + 0x20]
test al, al
jne 0x100322cc
test byte [0x100c9408], 0x40
jne 0x100322cc
mov cl, 1
jmp 0x100322ce
xor cl, cl
mov esi, dword [edi + 0x6d4]
mov byte [edi + 0x2c], cl
mov byte [edi + 0x6dc], 0
cmp esi, 0xffffffff
jne 0x100322ef
mov dword [edi + 0x6d4], 0
xor esi, esi
cmp dword [edi + 0x6c4], 0x40
jne 0x100323e1
mov eax, dword [0x100f48d4]
mov edx, dword [edi + 0x66c]
add eax, 0xffffff98
xor eax, 0x911388f6
cmp dword [eax + edx], 1
jl 0x100323e1
test cl, cl
je 0x100323e1
mov eax, dword [0x100f48f4]
add eax, 0xffffff90
xor eax, 0x911388fe
movss xmm0, dword [eax + edx]
mov eax, dword [0x100f463c]
comiss xmm0, dword [eax + 0x10]
ja 0x100323e1
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x100bf470]
push ecx
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x100bf4d4]
add esp, 4
fstp dword [esp + 8]
divss xmm0, dword [esp + 8]
cvttss2si eax, xmm0
not eax
mov dword [edi + 0x6d8], eax
cmp eax, esi
jne 0x1003239a
mov byte [edi + 0x6dc], 1
mov dword [edi + 0x6d4], 0xffffffff
jmp 0x100323f5
cmp dword [0x100d9258], 0
mov ecx, esi
jne 0x100323b9
cmp eax, esi
jle 0x100323b9
mov eax, dword [edi + 0x718]
or dword [eax + 0x30], 1
mov ecx, dword [edi + 0x6d4]
mov eax, dword [edi + 0x718]
test byte [eax + 0x30], 1
je 0x100323eb
lea eax, [ecx + 1]
mov dword [edi + 0x6d4], eax
test eax, eax
jle 0x100323f5
mov eax, dword [edi + 0x718]
and dword [eax + 0x30], 0xfffff7ff
jmp 0x100323f5
mov dword [edi + 0x6d8], 0
mov dword [edi + 0x6d4], 0
cmp byte [edi + 0x2c], 0
jne 0x10032402
xor al, al
jmp 0x100324e3
mov eax, dword [edi + 0x6cc]
cmp eax, 9
jne 0x10032414
xor al, al
jmp 0x100324e3
test eax, eax
je 0x1003243a
mov ecx, dword [0x100f48d4]
mov eax, dword [edi + 0x66c]
add ecx, 0xffffff98
xor ecx, 0x911388f6
cmp dword [ecx + eax], 1
jge 0x1003243a
xor al, al
jmp 0x100324e3
mov ecx, dword [edi + 0x6c4]
mov edx, dword [0x100f463c]
cmp ecx, 4
je 0x10032450
cmp ecx, 0xa
jne 0x10032485
mov eax, dword [0x100f48f0]
mov esi, dword [edi + 0x66c]
add eax, 0xffffff91
xor eax, 0x911388fd
cmp dword [eax + esi], 0
jle 0x10032485
mov eax, dword [0x100f4900]
movss xmm0, dword [edx + 0x10]
add eax, 0xffffff8d
xor eax, 0x91138901
comiss xmm0, dword [eax + esi]
jb 0x10032485
mov al, 1
jmp 0x100324e3
cmp ecx, 0x40
jne 0x100324c4
mov eax, dword [0x100f48e8]
mov ecx, dword [edi + 0x66c]
add eax, 0xffffff93
xor eax, 0x911388fb
cmp byte [edi + 0x6dc], 0
mov eax, dword [eax + ecx]
jne 0x100324c4
cmp eax, 0xb9
je 0x100324b7
cmp eax, 0xc1
jne 0x100324c0
cmp dword [edi + 0x6d4], 0
je 0x100324ca
xor al, al
jmp 0x100324e3
mov ecx, dword [edi + 0x66c]
mov eax, dword [0x100f48f4]
movss xmm0, dword [edx + 0x10]
add eax, 0xffffff90
xor eax, 0x911388fe
comiss xmm0, dword [eax + ecx]
setae al
mov byte [edi + 0x6d0], al
mov eax, dword [0x100fa56c]
mov dword [0x100fa58c], 0
mov dword [0x100fa590], 0
mov dword [0x100fa594], 0
mov dword [0x100fa5a4], 0
mov dword [0x100fa5a8], 0
mov dword [0x100fa5ac], 0
mov dword [0x100fa598], 0
mov dword [0x100fa59c], 0
mov dword [0x100fa5a0], 0
mov dword [0x100fa584], 0
mov dword [0x100fa588], 0
cmp eax, dword [0x100fa570]
je 0x10032569
mov dword [0x100fa570], eax
mov eax, dword [0x100fa578]
cmp eax, dword [0x100fa57c]
je 0x1003257b
mov dword [0x100fa57c], eax
cmp byte [0x100d018c], 0
je 0x100325db
cmp byte [0x100c9404], 0
je 0x100325db
cmp dword [0x100c9ac4], 9
jne 0x100325db
mov ecx, dword [0x100f48fc]
mov eax, dword [0x100c9abc]
add ecx, 0xffffff8e
mov dword [0x100fa568], eax
xor ecx, 0x91138900
mov eax, dword [0x100c9a64]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x100c9ac0]
movss dword [0x100fa588], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [0x100fa584], xmm0
call fcn.1007e980
call fcn.10085df0
call fcn.10022af0
call fcn.10085830
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.100a9d26
mov esp, ebp
pop ebp
ret