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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x100b9040]
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 [0x101318fc]
mov eax, dword [0x10136d60]
add ecx, 0xffffffc6
xor ecx, 0xe9f5e021
cmp dword [ecx + eax], 8
je 0x10030858
mov eax, dword [0x10138d30]
mov ecx, dword [eax + 0x30]
test cl, 2
je 0x10030858
test byte [0x10136d68], 1
jne 0x10030858
cmp byte [0x10125eec], 0
je 0x1003084b
and ecx, 0xfffffffd
mov dword [eax + 0x30], ecx
mov eax, dword [0x10138d30]
cmp byte [0x10125f74], 0
je 0x10030858
or dword [eax + 0x30], 4
call fcn.10084f30
mov eax, dword [0x101318b0]
mov ecx, dword [0x10136d60]
add eax, 0xffffffd9
xor eax, 0xe9f5e00e
mov dword [esp + 0x1c], 0
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [0x10126084]
movq qword [esp + 0x34], xmm0
cmp eax, 0xffffffff
je 0x10030a59
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1012e6b0]
test al, al
je 0x10030a59
mov eax, dword [0x101319b4]
add eax, 0xffffff98
xor eax, 0xe9f5e04f
mov eax, dword [eax + ecx]
mov ecx, dword [0x10131668]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x10030a59
mov ecx, dword [0x1013171c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov ecx, dword [0x10131978]
mov eax, dword [0x10136d60]
add ecx, 0xffffffa7
xor ecx, 0xe9f5e040
cmp dword [0x10138cfc], 0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [ecx + eax]
movss dword [esp + 0x14], xmm0
jle 0x10030a25
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x2c], xmm2
movaps xmm1, xmm4
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10019ce0
movss xmm1, dword [0x100af044]
comiss xmm1, xmm0
movss dword [esp + 0x28], xmm0
jae 0x10030a25
mov ecx, dword [0x10131728]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x24], eax
call dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
mov eax, dword [0x101316c0]
movaps xmm1, xmm2
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
maxss xmm0, xmm2
mulss xmm0, dword [esp + 0x14]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
maxss xmm1, dword [0x100aefe0]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100309fe
divss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm2, xmm1
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x30]
mulss xmm4, dword [esp + 0x18]
movaps xmm3, xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x18], xmm4
jmp 0x10030a10
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [0x10138cfc]
jl 0x10030942
mov eax, dword [0x101316d4]
mov ecx, dword [eax + 0x4cb0]
mov eax, 0xd
sub eax, ecx
cmp dword [esp + 0x1c], eax
jg 0x10030a41
test ecx, ecx
jne 0x10030a59
mov eax, dword [0x10138d30]
mov dword [eax + 0x28], 0
mov eax, dword [0x10138d30]
mov dword [eax + 0x24], 0
call fcn.10085de0
push dword [0x10138d30]
movss xmm2, dword [edi + 0x1ff0]
call fcn.10085670
push ecx
call fcn.10085b00
push dword [0x10138d30]
mov ecx, 0x1012f320
call fcn.1008a320
mov ecx, dword [0x10136d60]
mov eax, dword [0x1013184c]
mov esi, dword [eax + ecx]
test esi, esi
je 0x10030c4e
mov eax, dword [0x101319a0]
add eax, 0xffffff9d
xor eax, 0xe9f5e04a
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 [0x101319a0]
add ecx, 0xffffff9d
xor ecx, 0xe9f5e04a
movq xmm0, qword [eax]
movq qword [esp + 0x70], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov eax, dword [0x10136d60]
push 0x10138dc0
mov dword [ecx + eax + 0x30], 0x3f000000
mov eax, dword [0x101317b0]
mov ecx, dword [0x10136d60]
call eax
mov edx, dword [0x101318a8]
mov ecx, dword [0x10136d60]
add edx, 0xffffffdb
mov eax, dword [0x101317b4]
xor edx, 0xe9f5e00c
add edx, ecx
push edx
call eax
mov eax, dword [0x101318f8]
mov edx, dword [0x10136d60]
add eax, 0xffffffc7
xor eax, 0xe9f5e020
test byte [eax + edx], 1
je 0x10030b43
mov word [esi + 0x108], 1
mov edx, dword [0x10136d60]
mov eax, dword [0x1013184c]
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 0x10030c08
movss xmm1, dword [ecx + 0xa4]
lea esi, [ecx + 0xa4]
mov al, byte [ecx + 0x23c]
movss xmm0, dword [0x100af0d0]
comiss xmm1, xmm2
mov byte [ecx + 0x23c], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23], al
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x3f666666
mov dword [esp + 0x14], 0
movss dword [esp + 0x24], 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 + 0x24]
mov al, byte [esp + 0x23]
movss dword [esi], xmm0
mov byte [ecx + 0x23c], al
mov edx, dword [0x10136d60]
movss xmm1, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
mov eax, dword [0x101317b4]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edx
movss dword [0x10136d70], xmm2
movss dword [0x10136d74], xmm0
movss dword [0x10136d78], xmm1
call eax
mov ecx, dword [0x101319a0]
mov eax, dword [0x10136d60]
add ecx, 0xffffff9d
movss xmm0, dword [esp + 0x18]
xor ecx, 0xe9f5e04a
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 [0x100af018]
movss dword [esp + 0x28], xmm0
call fcn.10019cc0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x1fe4]
mulss xmm0, dword [0x100af018]
movss dword [esp + 0x14], xmm0
test esi, esi
je 0x10030cec
call fcn.10019cc0
mulss xmm0, dword [esp + 0x1c]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10019cd0
mulss xmm0, dword [esp + 0x1c]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x28]
call fcn.10019cd0
xorps xmm0, xmmword [0x100af3d0]
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 [0x101319b0]
add ecx, 0xffffff99
xor ecx, 0xe9f5e04e
mov eax, dword [ecx + eax]
mov ecx, dword [0x10131668]
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 0x100311b0
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, dword [edi + 0x1f70]
mov dword [edi + 0x1f78], eax
mov edx, dword [0x101319c8]
add edx, 0xffffff93
xor edx, 0xe9f5e054
mov edx, dword [edx + esi]
mov dword [edi + 0x1f74], edx
mov eax, dword [eax + 0xc8]
mov dword [edi + 0x1f7c], eax
cmp eax, 9
je 0x10030da0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x75c]
call eax
mov eax, dword [edi + 0x1f74]
cmp eax, 9
je 0x10030dbe
cmp eax, 0xb
je 0x10030dbe
cmp eax, 0x26
je 0x10030dbe
cmp eax, 0x28
je 0x10030dbe
xor dl, dl
jmp 0x10030dc0
mov dl, 1
mov esi, dword [0x10136d60]
mov dword [0x1012f330], 0
cmp dword [edi + 0x1f74], 0x28
jne 0x10030df8
mov eax, dword [0x101318f8]
add eax, 0xffffffc7
xor eax, 0xe9f5e020
test byte [eax + esi], 1
jne 0x10030df8
mov dword [0x1012f330], 0x3c0f5c29
jmp 0x10030e47
mov eax, dword [0x101318f8]
mov ecx, dword [edi + 0x1f78]
add eax, 0xffffffc7
xor eax, 0xe9f5e020
test byte [eax + esi], 2
je 0x10030e29
test dl, dl
je 0x10030e1f
movss xmm0, dword [ecx + 0x140]
jmp 0x10030e3f
movss xmm0, dword [ecx + 0x13c]
jmp 0x10030e3f
test dl, dl
je 0x10030e37
movss xmm0, dword [ecx + 0x148]
jmp 0x10030e3f
movss xmm0, dword [ecx + 0x144]
movss dword [0x1012f330], xmm0
mov eax, dword [edi + 0x1f7c]
test eax, eax
je 0x10030ee0
cmp eax, 7
je 0x10030ee0
cmp eax, 9
je 0x10030ee0
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 xmm1, dword [eax + 0x104]
movaps xmm0, xmm1
mov dword [esp + 0x54], 0x3f800000
mulss xmm0, dword [edi + 0x2004]
mov dword [esp + 0x58], 0x3f800000
mov byte [esp + 0x5c], 1
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x2008]
mulss xmm1, dword [edi + 0x200c]
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
call fcn.100889d0
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [edi]
movups xmmword [edi + 0x2010], xmm0
mov edx, dword [0x10131938]
mov eax, dword [0x101316c0]
add edx, 0xffffffb7
xor edx, 0xe9f5e030
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [edx + ecx]
jb 0x10030f3e
mov ecx, dword [0x10131664]
mov esi, dword [0x101316ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10030f31
mov eax, dword [esi]
test eax, eax
je 0x10030f31
mov al, byte [eax + 0x20]
test al, al
jne 0x10030f3e
test byte [0x10136d68], 0x40
jne 0x10030f3e
mov cl, 1
jmp 0x10030f40
xor cl, cl
mov esi, dword [edi + 0x1f84]
mov byte [edi + 0x1c], cl
mov byte [edi + 0x1f8c], 0
cmp esi, 0xffffffff
jne 0x10030f61
mov dword [edi + 0x1f84], 0
xor esi, esi
cmp dword [edi + 0x1f74], 0x40
jne 0x1003104f
mov eax, dword [0x101319cc]
mov edx, dword [edi + 0x1f70]
add eax, 0xffffff92
xor eax, 0xe9f5e055
cmp dword [eax + edx], 1
jl 0x1003104f
test cl, cl
je 0x1003104f
mov eax, dword [0x101319e0]
add eax, 0xffffff8d
xor eax, 0xe9f5e05a
movss xmm0, dword [eax + edx]
mov eax, dword [0x101316c0]
comiss xmm0, dword [eax + 0x10]
ja 0x1003104f
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x100af2d0]
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 [0x100af350]
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 0x1003100c
mov dword [edi + 0x1f84], 0xffffffff
mov byte [edi + 0x1f8c], 1
jmp 0x10031063
cmp dword [0x1012e19c], 0
jne 0x10031023
cmp eax, esi
jle 0x10031023
mov eax, dword [edi + 0x1fd0]
or dword [eax + 0x30], 1
mov eax, dword [edi + 0x1fd0]
test byte [eax + 0x30], 1
je 0x10031059
mov eax, dword [edi + 0x1f84]
inc eax
mov dword [edi + 0x1f84], eax
test eax, eax
jle 0x10031063
mov eax, dword [edi + 0x1fd0]
and dword [eax + 0x30], 0xfffff7ff
jmp 0x10031063
mov dword [edi + 0x1f88], 0
mov dword [edi + 0x1f84], 0
mov eax, dword [0x10131934]
mov esi, dword [0x10136d60]
add eax, 0xffffffb8
mov ecx, dword [0x101316c0]
xor eax, 0xe9f5e02f
mov edx, dword [0x101319e0]
movd xmm1, dword [eax + esi]
movss xmm2, dword [ecx + 0x10]
mov eax, dword [0x10138cd0]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [ecx + 0x20]
lea ecx, [edx - 0x73]
xor ecx, 0xe9f5e05a
movss xmm0, dword [ecx + eax]
comiss xmm0, xmm1
jbe 0x100310b3
xor al, al
jmp 0x100311aa
mov eax, dword [0x10131938]
add eax, 0xffffffb7
xor eax, 0xe9f5e030
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
jbe 0x100310d1
xor al, al
jmp 0x100311aa
cmp byte [edi + 0x1c], 0
jne 0x100310de
xor al, al
jmp 0x100311aa
mov eax, dword [edi + 0x1f7c]
cmp eax, 9
jne 0x100310f0
xor al, al
jmp 0x100311aa
test eax, eax
je 0x10031116
mov ecx, dword [0x101319cc]
mov eax, dword [edi + 0x1f70]
add ecx, 0xffffff92
xor ecx, 0xe9f5e055
cmp dword [ecx + eax], 1
jge 0x10031116
xor al, al
jmp 0x100311aa
mov ecx, dword [edi + 0x1f74]
cmp ecx, 4
je 0x10031126
cmp ecx, 0xa
jne 0x10031156
mov eax, dword [0x101319dc]
mov esi, dword [edi + 0x1f70]
add eax, 0xffffff8e
xor eax, 0xe9f5e059
cmp dword [eax + esi], 0
jle 0x10031156
mov eax, dword [0x101319f0]
add eax, 0xffffff89
xor eax, 0xe9f5e05e
comiss xmm2, dword [eax + esi]
jb 0x10031156
mov al, 1
jmp 0x100311aa
cmp ecx, 0x40
jne 0x10031195
mov eax, dword [0x101319d4]
mov ecx, dword [edi + 0x1f70]
add eax, 0xffffff90
xor eax, 0xe9f5e057
cmp byte [edi + 0x1f8c], 0
mov eax, dword [eax + ecx]
jne 0x10031195
cmp eax, 0xb9
je 0x10031188
cmp eax, 0xc1
jne 0x10031191
cmp dword [edi + 0x1f84], 0
je 0x1003119b
xor al, al
jmp 0x100311aa
mov ecx, dword [edi + 0x1f70]
lea eax, [edx - 0x73]
xor eax, 0xe9f5e05a
comiss xmm2, dword [eax + ecx]
setae al
mov byte [edi + 0x1f80], al
mov eax, dword [0x1012d61c]
cmp eax, 0xffffffff
je 0x10031253
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1012e6b0]
test al, al
je 0x10031253
cmp byte [0x10136cb8], 0
je 0x10031253
mov ecx, dword [0x1013190c]
mov eax, dword [edi]
add ecx, 0xffffffc2
xor ecx, 0xe9f5e025
cmp byte [ecx + eax], 0
je 0x100311fa
movss xmm0, dword [0x100af190]
jmp 0x10031202
movss xmm0, dword [0x100af1a8]
mov eax, dword [0x101316c0]
movss xmm1, dword [0x10136cc0]
subss xmm1, dword [eax + 0x10]
mov eax, dword [edi + 0x1fd0]
subss xmm1, xmm0
movss xmm0, dword [0x10138d18]
mulss xmm0, dword [0x100af0a8]
and dword [eax + 0x30], 0xffffffdf
mov eax, dword [0x101316c0]
subss xmm1, xmm0
movss xmm0, dword [eax + 0x20]
addss xmm0, xmm0
comiss xmm0, xmm1
jb 0x10031253
mov eax, dword [edi + 0x1fd0]
or dword [eax + 0x30], 0x20
mov ecx, dword [0x10131664]
mov esi, dword [0x101316ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003127b
mov eax, dword [esi]
test eax, eax
je 0x1003127b
mov al, byte [eax + 0x20]
test al, al
jne 0x1003152e
test byte [0x10136d68], 0x40
jne 0x1003152e
cmp byte [0x10136d64], 0
je 0x1003152e
mov eax, dword [0x1013beac]
mov dword [0x1013becc], 0
mov dword [0x1013bed0], 0
mov dword [0x1013bed4], 0
mov dword [0x1013bee4], 0
mov dword [0x1013bee8], 0
mov dword [0x1013beec], 0
mov dword [0x1013bed8], 0
mov dword [0x1013bedc], 0
mov dword [0x1013bee0], 0
mov dword [0x1013bec4], 0
mov dword [0x1013bec8], 0
cmp eax, dword [0x1013beb0]
je 0x10031315
mov dword [0x1013beb0], eax
mov eax, dword [0x1013beb8]
cmp eax, dword [0x1013bebc]
je 0x10031327
mov dword [0x1013bebc], eax
cmp byte [0x10125b40], 0
je 0x10031393
cmp dword [0x10138cdc], 9
jne 0x10031393
mov eax, dword [0x10138d30]
test byte [eax + 0x30], 1
jne 0x1003134e
mov eax, dword [eax + 0x30]
shr eax, 0xb
test al, 1
je 0x10031393
mov ecx, dword [0x101319ec]
mov eax, dword [0x10138cd4]
add ecx, 0xffffff8a
mov dword [0x1013bea8], eax
xor ecx, 0xe9f5e05d
mov eax, dword [0x10138cd0]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x10138cd8]
movss dword [0x1013bec8], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [0x1013bec4], xmm0
call fcn.10075260
call fcn.1007bcd0
call fcn.1001c840
cmp dword [0x10138cd0], 0
je 0x10031529
mov eax, dword [0x10138cdc]
cmp eax, 9
je 0x10031529
cmp eax, 7
je 0x10031529
cmp byte [0x10138ce0], 0
jne 0x100313e5
cmp dword [0x10138cd4], 0x40
mov eax, dword [0x10138d30]
jne 0x100313e1
and dword [eax + 0x30], 0xfffff7ff
jmp 0x100313e5
and dword [eax + 0x30], 0xfffffffe
cmp byte [0x1011eefc], 0
je 0x10031529
cmp dword [0x10138cd4], 0x40
jne 0x1003141d
mov eax, dword [0x10138ce4]
test eax, eax
je 0x1003141d
mov cl, 1
jle 0x1003141f
cmp eax, dword [0x10138ce8]
jne 0x1003141f
mov eax, dword [0x10138d08]
mov byte [eax], 0
jmp 0x10031529
xor cl, cl
cmp byte [0x10138ce0], 0
je 0x10031529
cmp dword [0x10138d00], 0
jne 0x10031463
test cl, cl
jne 0x10031463
mov eax, dword [0x10138d08]
mov byte [eax], cl
cmp dword [0x10138cd4], 0x40
mov eax, dword [0x10138d30]
jne 0x1003145a
and dword [eax + 0x30], 0xfffff7ff
jmp 0x10031529
and dword [eax + 0x30], 0xfffffffe
jmp 0x10031529
call fcn.1001c900
mov ecx, dword [0x1011ed80]
mov edx, dword [0x1011ed84]
cmp ecx, edx
je 0x10031529
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10031529
cmp eax, 1
je 0x1003150d
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push edx
push ecx
call fcn.10020af0
mov ecx, dword [0x1011ed84]
add esp, 0xc
mov edx, dword [0x1011ed80]
mov eax, ecx
movss xmm1, dword [0x1011ef88]
sub eax, edx
sar eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100af3a0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003150d
nop dword [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 + 0x100af3a0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100314e0
mov dword [0x1011ed84], ecx
cmp dword [0x10138cdc], 0
jne 0x1003151f
cmp dword [0x10138cd4], 0x1f
jne 0x10031529
call fcn.1001cdb0
call fcn.1001f680
call fcn.1007b6b0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.1009adcc
mov esp, ebp
pop ebp
ret