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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x100bc00c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xffffffff
mov byte [esp + 0x6c], 0
mov ecx, dword [edi + 0x1fd0]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x1fec], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x1ff0], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x1ff4], eax
mov ecx, dword [edi + 0x1fd0]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x1ff8], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x1ffc], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x2000], eax
mov ecx, dword [0x10153ecc]
mov eax, dword [0x10159470]
add ecx, 0xffffffc6
xor ecx, 0xc528b55c
cmp dword [ecx + eax], 8
je 0x10031ee8
mov eax, dword [0x1015b440]
mov ecx, dword [eax + 0x30]
test cl, 2
je 0x10031ee8
test byte [0x10159478], 1
jne 0x10031ee8
cmp byte [0x100c31bc], 0
je 0x10031edb
and ecx, 0xfffffffd
mov dword [eax + 0x30], ecx
mov eax, dword [0x1015b440]
cmp byte [0x100c3244], 0
je 0x10031ee8
or dword [eax + 0x30], 4
call fcn.10086500
mov eax, dword [0x10153e80]
mov ecx, dword [0x10159470]
add eax, 0xffffffd9
xor eax, 0xc528b549
mov dword [esp + 0x1c], 0
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [0x100c3354]
movq qword [esp + 0x34], xmm0
cmp eax, 0xffffffff
je 0x100320d9
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100cba10]
test al, al
je 0x100320d9
mov eax, dword [0x10153f84]
add eax, 0xffffff98
xor eax, 0xc528b58a
mov eax, dword [eax + ecx]
mov ecx, dword [0x10153c30]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x100320d9
mov ecx, dword [0x10153ce4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov ecx, dword [0x10153f48]
mov eax, dword [0x10159470]
add ecx, 0xffffffa7
xor ecx, 0xc528b57b
cmp dword [0x1015b40c], 0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [ecx + eax]
movss dword [esp + 0x14], xmm0
jle 0x100320a5
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x34]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x18], 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.10019f90
movss xmm1, dword [0x100b0edc]
comiss xmm1, xmm0
movss dword [esp + 0x24], xmm0
jae 0x100320a5
mov ecx, dword [0x10153cf0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm2, dword [esp + 0x24]
mov eax, dword [0x10153c88]
movaps xmm1, xmm2
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
maxss xmm0, xmm2
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x14]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
maxss xmm1, dword [0x100b0e74]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1003208a
divss xmm1, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm4, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm1
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x28], xmm2
jmp 0x10032090
movss xmm2, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [0x1015b40c]
jl 0x10031fd2
mov eax, dword [0x10153c9c]
mov ecx, dword [eax + 0x4cb0]
mov eax, 0xd
sub eax, ecx
cmp dword [esp + 0x1c], eax
jg 0x100320c1
test ecx, ecx
jne 0x100320d9
mov eax, dword [0x1015b440]
mov dword [eax + 0x28], 0
mov eax, dword [0x1015b440]
mov dword [eax + 0x24], 0
call fcn.100873c0
push dword [0x1015b440]
movss xmm2, dword [edi + 0x1ff0]
call fcn.10086c50
push ecx
call fcn.100870e0
push dword [0x1015b440]
mov ecx, 0x100cc680
call fcn.1008b840
mov ecx, dword [0x10159470]
mov eax, dword [0x10153e14]
mov esi, dword [eax + ecx]
test esi, esi
je 0x100322ce
mov eax, dword [0x10153f70]
add eax, 0xffffff9d
xor eax, 0xc528b585
movss xmm0, dword [eax + ecx + 0x30]
mov eax, dword [ecx]
movss dword [esp + 0x18], xmm0
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10153f70]
add ecx, 0xffffff9d
xor ecx, 0xc528b585
movq xmm0, qword [eax]
movq qword [esp + 0x70], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov eax, dword [0x10159470]
push 0x1015b4d0
mov dword [ecx + eax + 0x30], 0x3f000000
mov eax, dword [0x10153d78]
mov ecx, dword [0x10159470]
call eax
mov edx, dword [0x10153e78]
mov ecx, dword [0x10159470]
add edx, 0xffffffdb
mov eax, dword [0x10153d7c]
xor edx, 0xc528b547
add edx, ecx
push edx
call eax
mov eax, dword [0x10153ec8]
mov edx, dword [0x10159470]
add eax, 0xffffffc7
xor eax, 0xc528b55b
test byte [eax + edx], 1
je 0x100321c3
mov word [esi + 0x108], 1
mov edx, dword [0x10159470]
mov eax, dword [0x10153e14]
xorps xmm2, xmm2
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm2
xorps xmm1, xmm1
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
mov ecx, dword [edx + eax]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10032288
movss xmm1, dword [ecx + 0xa4]
lea esi, [ecx + 0xa4]
mov al, byte [ecx + 0x238]
movss xmm0, dword [0x100b0f68]
comiss xmm1, xmm2
mov byte [ecx + 0x238], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23], al
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x3f666666
mov dword [esp + 0x14], 0
movss dword [esp + 0x30], xmm1
cmovae ecx, esi
comiss xmm0, xmm1
cmovae eax, ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, edx
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x454]
call eax
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x30]
mov al, byte [esp + 0x23]
movss dword [esi], xmm0
mov byte [ecx + 0x238], al
mov edx, dword [0x10159470]
movss xmm1, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
mov eax, dword [0x10153d7c]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edx
movss dword [0x10159480], xmm2
movss dword [0x10159484], xmm0
movss dword [0x10159488], xmm1
call eax
mov ecx, dword [0x10153f70]
mov eax, dword [0x10159470]
add ecx, 0xffffff9d
movss xmm0, dword [esp + 0x18]
xor ecx, 0xc528b585
movss dword [ecx + eax + 0x30], xmm0
mov ecx, dword [edi + 0x1fd0]
lea esi, [edi + 0x2004]
mov eax, dword [edi + 0x1fe0]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x1fe4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x1fe8]
mov dword [ecx + 0x14], eax
movss xmm0, dword [edi + 0x1fe0]
mulss xmm0, dword [0x100b0eac]
movss dword [esp + 0x24], xmm0
call fcn.10019f50
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x1fe4]
mulss xmm0, dword [0x100b0eac]
movss dword [esp + 0x14], xmm0
test esi, esi
je 0x1003236c
call fcn.10019f50
mulss xmm0, dword [esp + 0x1c]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10019f80
mulss xmm0, dword [esp + 0x1c]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.10019f80
xorps xmm0, xmmword [0x100b1280]
movss dword [esi + 8], xmm0
mov eax, dword [edi]
mov dword [edi + 0x1f70], 0
mov dword [edi + 0x1f78], 0
mov dword [edi + 0x1f74], 0xffffffff
mov dword [edi + 0x1f7c], 0xffffffff
mov byte [edi + 0x1f80], 0
mov byte [edi + 0x1c], 0
mov ecx, dword [0x10153f80]
add ecx, 0xffffff99
xor ecx, 0xc528b589
mov eax, dword [ecx + eax]
mov ecx, dword [0x10153c30]
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 + 0x1f70], ecx
test ecx, ecx
je 0x10032836
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, dword [edi + 0x1f70]
mov dword [edi + 0x1f78], eax
mov edx, dword [0x10153f98]
add edx, 0xffffff93
xor edx, 0xc528b58f
mov edx, dword [edx + esi]
mov dword [edi + 0x1f74], edx
mov eax, dword [eax + 0xc8]
mov dword [edi + 0x1f7c], eax
cmp eax, 9
je 0x10032420
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x75c]
call eax
mov eax, dword [edi + 0x1f74]
cmp eax, 9
je 0x1003243e
cmp eax, 0xb
je 0x1003243e
cmp eax, 0x26
je 0x1003243e
cmp eax, 0x28
je 0x1003243e
xor dl, dl
jmp 0x10032440
mov dl, 1
mov esi, dword [0x10159470]
mov dword [0x100cc690], 0
cmp dword [edi + 0x1f74], 0x28
jne 0x10032478
mov eax, dword [0x10153ec8]
add eax, 0xffffffc7
xor eax, 0xc528b55b
test byte [eax + esi], 1
jne 0x10032478
mov dword [0x100cc690], 0x3c0f5c29
jmp 0x100324c7
mov eax, dword [0x10153ec8]
mov ecx, dword [edi + 0x1f78]
add eax, 0xffffffc7
xor eax, 0xc528b55b
test byte [eax + esi], 2
je 0x100324a9
test dl, dl
je 0x1003249f
movss xmm0, dword [ecx + 0x140]
jmp 0x100324bf
movss xmm0, dword [ecx + 0x13c]
jmp 0x100324bf
test dl, dl
je 0x100324b7
movss xmm0, dword [ecx + 0x148]
jmp 0x100324bf
movss xmm0, dword [ecx + 0x144]
movss dword [0x100cc690], xmm0
mov eax, dword [edi + 0x1f7c]
test eax, eax
je 0x10032560
cmp eax, 7
je 0x10032560
cmp eax, 9
je 0x10032560
mov eax, dword [edi]
lea edx, [esp + 0x60]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
mov eax, dword [edi + 0x1f78]
mov dword [esp + 0x44], 0
movss xmm2, dword [eax + 0x104]
movaps xmm1, xmm2
mov dword [esp + 0x54], 0x3f800000
mulss xmm1, dword [edi + 0x2004]
movaps xmm0, xmm2
mov dword [esp + 0x58], 0x3f800000
mulss xmm0, dword [edi + 0x2008]
mov byte [esp + 0x5c], 1
mulss xmm2, dword [edi + 0x200c]
addss xmm1, dword [edi + 0x10]
addss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm2
call fcn.10089eb0
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [edi]
movups xmmword [edi + 0x2010], xmm0
mov edx, dword [0x10153f08]
mov eax, dword [0x10153c88]
add edx, 0xffffffb7
xor edx, 0xc528b56b
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [edx + ecx]
jb 0x100325be
mov ecx, dword [0x10153c2c]
mov esi, dword [0x10153cb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100325b1
mov eax, dword [esi]
test eax, eax
je 0x100325b1
mov al, byte [eax + 0x20]
test al, al
jne 0x100325be
test byte [0x10159478], 0x40
jne 0x100325be
mov cl, 1
jmp 0x100325c0
xor cl, cl
mov esi, dword [edi + 0x1f84]
mov byte [edi + 0x1c], cl
mov byte [edi + 0x1f8c], 0
cmp esi, 0xffffffff
jne 0x100325e1
mov dword [edi + 0x1f84], 0
xor esi, esi
cmp dword [edi + 0x1f74], 0x40
jne 0x100326d3
mov eax, dword [0x10153f9c]
mov edx, dword [edi + 0x1f70]
add eax, 0xffffff92
xor eax, 0xc528b590
cmp dword [eax + edx], 1
jl 0x100326d3
test cl, cl
je 0x100326d3
mov eax, dword [0x10153fb0]
add eax, 0xffffff8d
xor eax, 0xc528b595
movss xmm0, dword [eax + edx]
mov eax, dword [0x10153c88]
comiss xmm0, dword [eax + 0x10]
ja 0x100326d3
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x100b1154]
push ecx
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x100b11cc]
add esp, 4
fstp dword [esp + 0x14]
divss xmm0, dword [esp + 0x14]
cvttss2si eax, xmm0
not eax
mov dword [edi + 0x1f88], eax
cmp eax, esi
jne 0x1003268c
mov byte [edi + 0x1f8c], 1
mov dword [edi + 0x1f84], 0xffffffff
jmp 0x100326e7
cmp dword [0x100cb4fc], 0
mov ecx, esi
jne 0x100326ab
cmp eax, esi
jle 0x100326ab
mov eax, dword [edi + 0x1fd0]
or dword [eax + 0x30], 1
mov ecx, dword [edi + 0x1f84]
mov eax, dword [edi + 0x1fd0]
test byte [eax + 0x30], 1
je 0x100326dd
lea eax, [ecx + 1]
mov dword [edi + 0x1f84], eax
test eax, eax
jle 0x100326e7
mov eax, dword [edi + 0x1fd0]
and dword [eax + 0x30], 0xfffff7ff
jmp 0x100326e7
mov dword [edi + 0x1f88], 0
mov dword [edi + 0x1f84], 0
mov eax, dword [0x10153f04]
mov esi, dword [0x10159470]
add eax, 0xffffffb8
mov ecx, dword [0x10153c88]
xor eax, 0xc528b56a
mov edx, dword [0x10153fb0]
add edx, 0xffffff8d
xor edx, 0xc528b595
movd xmm1, dword [eax + esi]
mov eax, dword [0x1015b3e0]
movss xmm2, dword [ecx + 0x10]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + edx]
mulss xmm1, dword [ecx + 0x20]
comiss xmm0, xmm1
jbe 0x10032737
xor al, al
jmp 0x10032830
mov eax, dword [0x10153f08]
add eax, 0xffffffb7
xor eax, 0xc528b56b
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
jbe 0x10032755
xor al, al
jmp 0x10032830
cmp byte [edi + 0x1c], 0
jne 0x10032762
xor al, al
jmp 0x10032830
mov eax, dword [edi + 0x1f7c]
cmp eax, 9
jne 0x10032774
xor al, al
jmp 0x10032830
test eax, eax
je 0x1003279a
mov ecx, dword [0x10153f9c]
mov eax, dword [edi + 0x1f70]
add ecx, 0xffffff92
xor ecx, 0xc528b590
cmp dword [ecx + eax], 1
jge 0x1003279a
xor al, al
jmp 0x10032830
mov ecx, dword [edi + 0x1f74]
cmp ecx, 4
je 0x100327aa
cmp ecx, 0xa
jne 0x100327da
mov eax, dword [0x10153fac]
mov esi, dword [edi + 0x1f70]
add eax, 0xffffff8e
xor eax, 0xc528b594
cmp dword [eax + esi], 0
jle 0x100327da
mov eax, dword [0x10153fc0]
add eax, 0xffffff89
xor eax, 0xc528b599
comiss xmm2, dword [eax + esi]
jb 0x100327da
mov al, 1
jmp 0x10032830
cmp ecx, 0x40
jne 0x10032823
mov eax, dword [0x10153fa4]
mov ecx, dword [edi + 0x1f70]
add eax, 0xffffff90
xor eax, 0xc528b592
cmp byte [edi + 0x1f8c], 0
mov eax, dword [eax + ecx]
jne 0x10032823
cmp eax, 0xb9
je 0x10032810
cmp eax, 0xc1
jne 0x10032730
cmp dword [edi + 0x1f84], 0
jne 0x10032730
comiss xmm2, dword [edx + ecx]
jmp 0x1003282d
mov eax, dword [edi + 0x1f70]
comiss xmm2, dword [edx + eax]
setae al
mov byte [edi + 0x1f80], al
mov eax, dword [0x100ca8ec]
cmp eax, 0xffffffff
je 0x100328d9
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100cba10]
test al, al
je 0x100328d9
cmp byte [0x101593d0], 0
je 0x100328d9
mov ecx, dword [0x10153edc]
mov eax, dword [edi]
add ecx, 0xffffffc2
xor ecx, 0xc528b560
cmp byte [ecx + eax], 0
je 0x10032880
movss xmm0, dword [0x100b1018]
jmp 0x10032888
movss xmm0, dword [0x100b1030]
mov eax, dword [0x10153c88]
movss xmm1, dword [0x101593d8]
subss xmm1, dword [eax + 0x10]
mov eax, dword [edi + 0x1fd0]
subss xmm1, xmm0
movss xmm0, dword [0x1015b428]
mulss xmm0, dword [0x100b0f44]
and dword [eax + 0x30], 0xffffffdf
mov eax, dword [0x10153c88]
subss xmm1, xmm0
movss xmm0, dword [eax + 0x20]
addss xmm0, xmm0
comiss xmm0, xmm1
jb 0x100328d9
mov eax, dword [edi + 0x1fd0]
or dword [eax + 0x30], 0x20
mov ecx, dword [0x10153c2c]
mov esi, dword [0x10153cb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10032901
mov eax, dword [esi]
test eax, eax
je 0x10032901
mov al, byte [eax + 0x20]
test al, al
jne 0x10032bae
test byte [0x10159478], 0x40
jne 0x10032bae
cmp byte [0x10159474], 0
je 0x10032bae
mov eax, dword [0x1015e5dc]
mov dword [0x1015e5fc], 0
mov dword [0x1015e600], 0
mov dword [0x1015e604], 0
mov dword [0x1015e614], 0
mov dword [0x1015e618], 0
mov dword [0x1015e61c], 0
mov dword [0x1015e608], 0
mov dword [0x1015e60c], 0
mov dword [0x1015e610], 0
mov dword [0x1015e5f4], 0
mov dword [0x1015e5f8], 0
cmp eax, dword [0x1015e5e0]
je 0x1003299b
mov dword [0x1015e5e0], eax
mov eax, dword [0x1015e5e8]
cmp eax, dword [0x1015e5ec]
je 0x100329ad
mov dword [0x1015e5ec], eax
cmp byte [0x100c2e10], 0
je 0x10032a12
cmp dword [0x1015b3ec], 9
jne 0x10032a12
mov eax, dword [0x1015b440]
test dword [eax + 0x30], 0x801
je 0x10032a12
mov ecx, dword [0x10153fbc]
mov eax, dword [0x1015b3e4]
add ecx, 0xffffff8a
mov dword [0x1015e5d8], eax
xor ecx, 0xc528b598
mov eax, dword [0x1015b3e0]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x1015b3e8]
movss dword [0x1015e5f8], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [0x1015e5f4], xmm0
call fcn.10075570
call fcn.1007bce0
call fcn.1001ce70
cmp dword [0x1015b3e0], 0
je 0x10032ba9
mov eax, dword [0x1015b3ec]
cmp eax, 9
je 0x10032ba9
cmp eax, 7
je 0x10032ba9
cmp byte [0x1015b3f0], 0
jne 0x10032a64
cmp dword [0x1015b3e4], 0x40
mov eax, dword [0x1015b440]
jne 0x10032a60
and dword [eax + 0x30], 0xfffff7ff
jmp 0x10032a64
and dword [eax + 0x30], 0xfffffffe
cmp byte [0x100bc12c], 0
je 0x10032ba9
cmp dword [0x1015b3e4], 0x40
jne 0x10032a9c
mov eax, dword [0x1015b3f4]
test eax, eax
je 0x10032a9c
mov cl, 1
jle 0x10032a9e
cmp eax, dword [0x1015b3f8]
jne 0x10032a9e
mov eax, dword [0x1015b418]
mov byte [eax], 0
jmp 0x10032ba9
xor cl, cl
cmp byte [0x1015b3f0], 0
je 0x10032ba9
cmp dword [0x1015b410], 0
jne 0x10032ae2
test cl, cl
jne 0x10032ae2
mov eax, dword [0x1015b418]
mov byte [eax], cl
cmp dword [0x1015b3e4], 0x40
mov eax, dword [0x1015b440]
jne 0x10032ad9
and dword [eax + 0x30], 0xfffff7ff
jmp 0x10032ba9
and dword [eax + 0x30], 0xfffffffe
jmp 0x10032ba9
call fcn.1001cf30
mov ecx, dword [0x10150e80]
mov edx, dword [0x10150e84]
cmp ecx, edx
je 0x10032ba9
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10032ba9
cmp eax, 1
je 0x10032b8d
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push edx
push ecx
call fcn.100211b0
mov ecx, dword [0x10150e84]
add esp, 0xc
mov edx, dword [0x10150e80]
mov eax, ecx
movss xmm1, dword [0x100bc1b8]
sub eax, edx
sar eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b1240]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10032b8d
nop word [eax + eax]
add ecx, 0xfffffffc
mov eax, ecx
sub eax, edx
sar eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b1240]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10032b60
mov dword [0x10150e84], ecx
cmp dword [0x1015b3ec], 0
jne 0x10032b9f
cmp dword [0x1015b3e4], 0x1f
jne 0x10032ba9
call fcn.1001d3d0
call fcn.1001fcd0
call fcn.1007b6f0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.1009c816
mov esp, ebp
pop ebp
ret