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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x178
push esi
mov esi, dword [0x101257f8]
mov dword [ebp - 0xfc], ecx
mov ecx, esi
push edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x198c]
mov dword [ebp - 0x68], edi
cmp byte [edi + 0x7f], 0
jne 0x10055e13
mov ecx, dword [ebx + 0x10]
mov eax, ecx
shr eax, 0xe
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x14
mov dword [ebp - 0x4c], eax
and edx, 0xffffff01
mov eax, ecx
mov dword [ebp - 0x30], edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xb8], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x70], eax
mov eax, ecx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x58], eax
test dl, dl
je 0x10055a98
call fcn.1003bae0
mov esi, dword [0x101257f8]
mov ecx, dword [edi + 0x1c0]
xor edx, edx
mov eax, dword [edi + 0x1c8]
mov edi, dword [ebp - 0xfc]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10031240
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x19ac], eax
jne 0x10055acb
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x10055ada
mov byte [esi + 0x19c0], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x10055af7
mov dl, byte [ecx]
test dl, dl
je 0x10055af7
cmp dl, 0x23
jne 0x10055af1
cmp byte [ecx + 1], dl
je 0x10055af7
inc ecx
cmp ecx, 0xffffffff
jb 0x10055ae1
movss xmm1, dword [0x100e0698]
movss xmm0, dword [esi + 0x18ac]
movss dword [ebp - 0xf4], xmm1
cmp edi, ecx
jne 0x10055b20
xorps xmm6, xmm6
movss dword [ebp - 0xcc], xmm6
jmp 0x10055b6d
movss xmm3, dword [0x100e066c]
lea eax, [ebp - 0x78]
push ecx
push ecx
push edi
push ecx
mov ecx, dword [esi + 0x18a8]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.1004e0d0
movss xmm0, dword [ebp - 0x78]
xorps xmm6, xmm6
addss xmm0, dword [0x100e04dc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x74]
cmp byte [ebp - 0x30], 0
mov eax, dword [ebx + 0xc]
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [ebp - 0x80], xmm7
movss dword [ebp - 0x7c], xmm1
je 0x10055b99
movss xmm0, dword [esi + 0x18ac]
mulss xmm0, dword [0x100e058c]
mov eax, dword [ebp - 8]
mov edi, dword [esi + 0x198c]
movss xmm5, dword [eax + 0x1538]
movss xmm2, dword [edi + 0x16c]
movaps xmm3, xmm5
comiss xmm6, xmm2
addss xmm3, xmm5
addss xmm3, xmm0
jbe 0x10055c33
movss xmm4, dword [edi + 0xc8]
movss xmm1, dword [edi + 0x214]
mov ecx, dword [edi + 0x1bc]
subss xmm4, dword [edi + 0xc]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x10055c1f
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x100e04e4]
maxss xmm2, xmm1
comiss xmm6, xmm7
cvttss2si eax, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x10055c4f
comiss xmm6, dword [ebp - 0x7c]
jbe 0x10055cb8
movss xmm2, dword [edi + 0x218]
mov ecx, dword [edi + 0x1bc]
movss xmm1, dword [edi + 0x214]
subss xmm2, dword [edi + 0x10]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x10055cac
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
mov eax, edi
addss xmm1, dword [eax + 0xc]
addss xmm2, dword [eax + 0x10]
comiss xmm6, xmm7
movss xmm0, dword [0x100e0570]
jb 0x10055cf0
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x10055cd8
movaps xmm7, xmm4
movss dword [ebp - 0x80], xmm7
jmp 0x10055cf0
subss xmm1, dword [edi + 0xc8]
maxss xmm1, xmm0
addss xmm1, xmm7
movaps xmm7, xmm1
movss dword [ebp - 0x80], xmm1
movss xmm1, dword [ebp - 0x7c]
comiss xmm6, xmm1
jb 0x10055d1f
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x10055d0a
movss dword [ebp - 0x7c], xmm3
jmp 0x10055d1f
subss xmm2, dword [edi + 0xcc]
maxss xmm2, xmm0
addss xmm1, xmm2
movss dword [ebp - 0x7c], xmm1
mov esi, dword [ebp - 0x68]
movss xmm2, dword [ebp - 0xcc]
comiss xmm2, xmm6
movss xmm3, dword [esi + 0xc8]
movss xmm4, dword [esi + 0xcc]
movaps xmm0, xmm3
movaps xmm1, xmm4
movss dword [ebp - 0xb0], xmm3
addss xmm1, dword [ebp - 0x7c]
addss xmm0, xmm7
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0xa4], xmm1
movss dword [ebp - 0xa8], xmm0
jbe 0x10055d7b
mov eax, dword [ebp - 8]
addss xmm2, dword [eax + 0x154c]
jmp 0x10055d7e
xorps xmm2, xmm2
cmp byte [ebp - 0x30], 0
addss xmm0, xmm2
addss xmm1, xmm6
movss dword [ebp - 0xc8], xmm3
movss dword [ebp - 0xc4], xmm4
mov dword [ebp - 0x60], esi
movss dword [ebp - 0xc0], xmm0
movss dword [ebp - 0xbc], xmm1
je 0x10055ea5
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0xb0]
push eax
mov edx, edi
lea ecx, [ebp - 0xc8]
call fcn.10033550
add esp, 4
test al, al
jne 0x10055e1e
movss xmm0, dword [ebp - 0xc0]
lea ecx, [ebp - 0x78]
subss xmm0, dword [ebp - 0xc8]
mov eax, dword [ebp - 8]
movss xmm1, dword [eax + 0x1538]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0xbc]
subss xmm0, dword [ebp - 0xc4]
movss dword [ebp - 0x74], xmm0
call fcn.10033440
call fcn.1003bc20
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0xa8]
lea edx, [ebp - 0x78]
subss xmm0, dword [ebp - 0xb0]
push ecx
mov ecx, edi
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0xa4]
subss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0x74], xmm0
call fcn.100364a0
add esp, 4
test al, al
jne 0x10055e6f
call fcn.10036310
call fcn.1003bc20
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x101257f8]
movss xmm0, dword [ebp - 0x80]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x198c]
mov dword [ebp - 0x60], edi
subss xmm0, dword [edi + 0x70]
mov eax, dword [edi + 0x138]
or dword [edi + 0x140], eax
movss dword [ebp - 0x80], xmm0
jmp 0x10055ee2
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x78]
movss dword [ebp - 0x74], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x78], xmm0
call fcn.10033440
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10033550
add esp, 4
test al, al
je 0x10055e13
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0xb0]
call fcn.10033700
mov ecx, dword [ebp - 8]
mov byte [ebp - 0xf], al
test al, al
je 0x10055f04
mov dword [ecx + 0x1c64], 1
cmp byte [ebp - 0xb8], 0
je 0x10055fab
mov esi, dword [ecx + 0x18a8]
cmp dword [esi + 0x14], 0x2a
jg 0x10055f22
mov edi, dword [esi + 0x2c]
jmp 0x10055f44
mov eax, dword [esi + 0x1c]
mov edx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, dx
jne 0x10055f38
mov edi, dword [esi + 0x2c]
jmp 0x10055f44
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea edi, [eax + ecx*8]
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x10]
lea edx, [ecx + 0x2b94]
mov esi, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov eax, dword [esi + 0x18a8]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x30], ecx
mov ecx, edx
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov dword [edx + 0x2c], edi
mov eax, dword [edi + 4]
mov dword [edx + 0xc], eax
call fcn.1003b3d0
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [eax + 0x1d24], edx
lea edi, [eax + 0x1d24]
cmovne edi, ecx
test dword [ebx + 0x10], 0x440
mov ecx, esi
mov dword [ebp - 0x3c], edi
sete al
movzx eax, al
push eax
call fcn.10033870
add esp, 4
mov byte [ebp - 0x41], al
test al, al
je 0x1005603a
mov ecx, dword [esi + 0x328]
cmp ecx, dword [esi + 0x330]
jne 0x1005603a
mov byte [ebp - 0xc], 1
mov byte [ebp - 0x26], 0
cmp byte [ebp - 0xf], 0
mov eax, dword [ebp - 8]
je 0x1005600d
cmp byte [eax + 0x3d0], 0
mov byte [ebp - 0xb], 1
jne 0x10056011
mov byte [ebp - 0xb], 0
mov esi, dword [eax + 0x19ac]
cmp esi, edx
je 0x1005604c
cmp dword [eax + 0x1ab0], edx
je 0x10056034
cmp dword [eax + 0x1aa4], edx
jne 0x1005604c
cmp dword [eax + 0x1ac4], 3
jne 0x1005604c
mov byte [ebp - 0xa], 1
jmp 0x10056050
mov byte [ebp - 0xc], 0
test al, al
je 0x10055ff3
mov byte [ebp - 0x26], 1
mov byte [ebp - 0xc], 0
jmp 0x10055ff7
mov byte [ebp - 0xa], 0
mov eax, dword [ebp - 0x30]
test al, al
je 0x10056095
test edi, edi
je 0x10056095
test esi, esi
jne 0x10056095
mov eax, dword [ebp - 0x60]
xor edx, edx
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10031240
mov ecx, dword [ebp - 8]
add esp, 4
cmp dword [ecx + 0x19b0], eax
jne 0x10056092
mov byte [ebp - 9], 1
jmp 0x100560a5
mov eax, dword [ebp - 0x30]
mov byte [ebp - 9], 0
test al, al
je 0x100560cf
mov byte [ebp - 9], 0
test edi, edi
je 0x100560cf
mov eax, dword [ebp - 0x60]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10031240
add esp, 4
mov byte [ebp - 0x27], 1
cmp esi, eax
je 0x100560d3
mov byte [ebp - 0x27], 0
mov al, byte [ebp - 0xa]
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 0x20]
je 0x100560f3
test byte [ebx + 0x10], 0x10
jne 0x100560e9
test al, al
je 0x100560f3
cmp byte [ebp - 0x30], 0
mov byte [ebp - 0x1c], 1
je 0x100560f7
mov byte [ebp - 0x1c], 0
cmp byte [ebp - 0x41], 0
jne 0x10056125
cmp byte [ebp - 0xb], 0
jne 0x10056125
cmp byte [ebp - 9], 0
jne 0x10056125
test al, al
jne 0x10056125
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x3d0], al
je 0x10056349
mov byte [ebp - 0xd], 1
jmp 0x10056349
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edi
cmp esi, ecx
je 0x1005630f
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
add edi, 0x1d24
mov dword [ebp - 0x3c], edi
mov dword [edi + 0xe5c], 0xbe99999a
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056150
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1005618d
test eax, eax
je 0x10056176
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1005617e
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10041ad0
push esi
push dword [ebp - 0x2c]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [edi + 0xc]
lea edx, [ecx + 1]
mov dword [ebp - 0x24], edx
cmp edx, esi
jle 0x100561ea
test esi, esi
je 0x100561cc
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x100561d1
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10041c40
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 8]
mov dword [eax], edx
lea ecx, [ecx - 1]
mov edx, dword [edi + 0x14]
mov esi, edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10056249
mov edi, eax
cmp byte [edi], 0
je 0x10056240
push 0
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10031560
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1005623d
cmp eax, 0x10000
jae 0x1005622d
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x24]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10056203
jmp 0x10056240
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1005628e
cmp dword [ebp - 0x5c], esi
jne 0x1005628e
cmp dword [edi + 0x38], esi
mov ecx, esi
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x38], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
cmovl esi, dword [edi + 0x40]
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x40], esi
jmp 0x100562e2
mov dword [edi], eax
mov dword [edi + 0x34], ecx
mov dword [edi + 0xe54], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x30]
mov al, cl
xor al, 1
mov dword [edi + 0xe4e], 0x630000
mov dword [edi + 0xe58], 0x3e7
mov dword [edi + 0x44], 0x10000
mov byte [edi + 0x48], al
test cl, cl
jne 0x100562e2
mov eax, dword [ebp - 0x1c]
mov edx, 1
cmp byte [ebp - 0xc], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x1c], eax
test dword [ebx + 0x10], 0x2000
je 0x100562ef
mov byte [edi + 0x44], 1
test cl, cl
jne 0x1005630c
cmp byte [ebp - 0x26], cl
jne 0x10056308
cmp byte [ebp - 0xb], cl
je 0x1005630c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], cl
je 0x1005630c
mov byte [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x68]
call fcn.10033270
mov ecx, dword [ebp - 0x20]
call fcn.10033320
mov ecx, edx
call fcn.1003b1f0
cmp byte [ebp - 0x30], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x19c8], 2
jne 0x10056349
test byte [ebx + 0x10], 0x80
jne 0x10056349
mov dword [ecx + 0x19c4], 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
cmp dword [eax + 0x19ac], ecx
jne 0x10056366
test edi, edi
jne 0x10056366
call fcn.100333e0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x68], 0
cmp dword [eax + 0x19ac], ecx
jne 0x1005676a
cmp byte [ebp - 0x4c], 0
mov ecx, dword [ebp - 8]
je 0x1005646c
cmp byte [ecx + 0x19bc], 0
jne 0x1005646c
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x100563d5
test eax, eax
je 0x100563bb
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100563c3
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10041c40
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0x24], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10056435
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x1005642c
push 0
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10031560
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10056429
cmp eax, 0x10000
jae 0x1005641a
mov word [esi], ax
add esi, 2
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 8]
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x100563f0
jmp 0x1005642c
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
cmp dword [edi + 0x38], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x38], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
cmovl esi, dword [edi + 0x40]
mov ecx, dword [ebp - 8]
mov dword [edi + 8], eax
mov dword [edi + 0x40], esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0xe64], eax
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
cmp byte [ecx + 0xe8], 0
mov dword [ecx + 0x2e74], 1
sete al
cmp byte [ebp - 0x30], 0
mov byte [ecx + 0x19bd], al
movss xmm7, dword [ecx + 0xe0]
subss xmm7, dword [ebp - 0xb0]
subss xmm7, dword [ecx + 0x1534]
addss xmm7, dword [edi + 0x34]
je 0x100564ef
mov eax, dword [ebp - 0x60]
movss xmm2, dword [ecx + 0xe4]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [ecx + 0x1538]
jmp 0x100564ff
movss xmm2, dword [ecx + 0x18ac]
mulss xmm2, dword [0x100e04a8]
cmp byte [ebp - 0x1c], 0
mov al, byte [ecx + 0xad]
mov byte [ebp - 0x31], al
jne 0x1005667d
mov cl, byte [ebp - 0xf]
mov edx, dword [ebp - 8]
test cl, cl
je 0x1005652c
test al, al
jne 0x10056594
cmp byte [edx + 0x3d5], al
jne 0x1005667d
cmp byte [edx + 0x3d0], 0
lea esi, [edi + 0xe61]
mov al, byte [esi]
je 0x100565ee
test al, al
jne 0x100565ee
test cl, cl
je 0x1005658d
cmp byte [edi + 0x48], al
je 0x1005656c
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10054140
movss xmm2, dword [ebp - 0xe4]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10054450
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x47], 0
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, esi
jmp 0x1005669a
cmp byte [edx + 0x3d5], 0
je 0x1005652c
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10054830
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.10054830
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
lea ecx, [edi + 0xe61]
jmp 0x1005669a
cmp byte [edx + 0xe8], 0
mov ecx, esi
je 0x1005669a
test al, al
jne 0x1005669a
movss xmm0, dword [edx + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005662a
movss xmm0, dword [edx + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005669a
cmp byte [edi + 0x48], 0
je 0x1005664a
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10054140
movss xmm2, dword [ebp - 0xe4]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x10056658
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10054450
mov dword [edi + 0x40], eax
mov ecx, esi
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x1005669a
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe61]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [ecx], 1
cmp byte [ecx], 0
mov eax, dword [ebp - 8]
je 0x100566ae
cmp byte [eax + 0xe8], 0
jne 0x100566ae
mov byte [ecx], 0
cmp dword [eax + 0x14f0], 0
lea esi, [eax + 0x14f0]
mov dword [ebp - 0x38], esi
jle 0x1005676a
cmp byte [eax + 0xf8], 0
je 0x100566d6
cmp byte [eax + 0xfa], 0
je 0x10056745
cmp byte [ebp - 0x31], 0
je 0x100566e5
cmp byte [eax + 0xfb], 0
jne 0x10056745
cmp byte [ebp - 0x4c], 0
jne 0x10056745
cmp byte [ebp - 0xa], 0
jne 0x10056745
xor esi, esi
mov eax, dword [eax + 0x14f8]
lea ecx, [ebp - 0x24]
mov edx, dword [ebx + 0x10]
sub esp, 8
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x24], eax
call fcn.10055850
add esp, 8
test al, al
je 0x10056736
push dword [ebp - 0x24]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10054830
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [eax + 0x14f0]
jl 0x100566f3
mov esi, dword [ebp - 0x38]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10056764
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10041c40
mov dword [esi], 0
mov edx, dword [ebp - 8]
xor cl, cl
mov eax, dword [ebp - 0x20]
mov byte [ebp - 1], cl
cmp dword [edx + 0x19ac], eax
jne 0x10057a60
cmp byte [edx + 0x19bc], cl
jne 0x10057a60
cmp byte [ebp - 0xd], cl
jne 0x10057a60
mov ecx, edx
xor esi, esi
mov edx, 0x20000
mov al, byte [ecx + 0xf9]
mov ah, byte [ecx + 0xad]
test al, al
mov byte [ebp - 0xa], al
mov al, byte [ecx + 0xf8]
cmovne esi, edx
mov byte [ebp - 0x69], ah
test ah, ah
je 0x100567e5
cmp byte [ecx + 0xfb], 0
lea edx, [ecx + 0xfb]
mov dword [ebp - 0x1c], edx
je 0x100567dd
test al, al
jne 0x100567dd
mov ecx, 1
jmp 0x100567df
xor ecx, ecx
test ecx, ecx
je 0x10056817
jmp 0x100567f9
add ecx, 0xfb
test al, al
je 0x10056812
cmp byte [ecx], 0
jne 0x10056812
mov edx, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xfa], 0
mov ch, byte [ebp - 0xa]
jne 0x1005681a
test ch, ch
jne 0x1005681a
mov byte [ebp - 0xc], 1
jmp 0x1005681e
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov ch, byte [ebp - 0xa]
mov byte [ebp - 0xc], 0
mov cl, al
test ah, ah
je 0x1005685d
mov edi, dword [ebp - 8]
cmp byte [edi + 0xfb], 0
mov edi, dword [ebp - 0x3c]
je 0x1005685d
test ch, ch
je 0x1005685d
mov eax, dword [ebp - 8]
mov ah, byte [eax + 0xf8]
mov byte [ebp - 0xe], ah
mov cl, ah
test ah, ah
jne 0x1005685d
mov edi, dword [ebp - 8]
cmp byte [edi + 0xfa], ah
mov edi, dword [ebp - 0x3c]
jne 0x1005685d
mov byte [ebp - 0x25], 1
jmp 0x1005686c
cmp byte [ebp - 0x69], 0
mov ah, cl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0x25], 0
je 0x100568e0
cmp byte [edx], 0
mov edi, dword [ebp - 8]
mov al, byte [edi + 0xfa]
mov edi, dword [ebp - 0x3c]
mov byte [ebp - 0x10], al
je 0x100568ec
test ah, ah
jne 0x100568ec
test al, al
jne 0x100568ec
mov dl, 1
cmp byte [ebp - 0xa], 0
mov cl, dl
mov byte [ebp - 0x4d], cl
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 9], 0
je 0x10056916
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 9], 0
test ah, ah
jne 0x10056916
mov edx, dword [ebp - 8]
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 9], ah
cmp byte [edx + 0xfa], ah
jne 0x10056916
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 9], ah
cmp byte [edx], ah
jne 0x10056916
mov byte [ebp - 0x15], 1
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 9], ah
jmp 0x1005691a
mov al, ah
mov byte [ebp - 0xe], ah
mov byte [ebp - 0x10], al
mov byte [ebp - 0x25], 0
xor dl, dl
mov byte [ebp - 0xb], dl
test ah, ah
je 0x1005688a
test ch, ch
jne 0x1005688a
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xfa], dl
jne 0x1005688a
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], dl
jne 0x1005688a
mov byte [ebp - 9], 1
mov byte [ebp - 0x4d], dl
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0xc], 0
xorps xmm4, xmm4
mov edx, dword [0x101257f8]
je 0x100569ae
mov eax, dword [edx + 0x7c]
test eax, eax
js 0x100569ae
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056a35
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100569ae
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005696f
mov eax, 1
jmp 0x100569a6
comiss xmm2, xmm1
jae 0x100569a4
comiss xmm4, xmm3
jae 0x100569a4
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100569a6
xor eax, eax
test eax, eax
jg 0x10056a35
cmp byte [ebp - 0x15], 0
je 0x10056a58
mov eax, dword [edx + 0x5c]
test eax, eax
js 0x10056a58
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056a35
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056a58
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100569fa
mov eax, 1
jmp 0x10056a31
comiss xmm2, xmm1
jae 0x10056a2f
comiss xmm4, xmm3
jae 0x10056a2f
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056a31
xor eax, eax
test eax, eax
jle 0x10056a58
cmp byte [ebp - 0x4c], 0
jne 0x10056a58
cmp byte [ebp - 0xb8], 0
jne 0x10056a58
cmp byte [ebp - 0x30], 0
je 0x10056a52
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10056a58
mov byte [ebp - 0xf], 1
jmp 0x10056a5c
mov byte [ebp - 0xf], 0
cmp byte [ebp - 0xc], 0
je 0x10056ae7
mov eax, dword [edx + 0x74]
test eax, eax
js 0x10056ae7
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056b6e
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056ae7
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056aa8
mov eax, 1
jmp 0x10056adf
comiss xmm2, xmm1
jae 0x10056add
comiss xmm4, xmm3
jae 0x10056add
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056adf
xor eax, eax
test eax, eax
jg 0x10056b6e
cmp byte [ebp - 9], 0
je 0x10056b8b
mov eax, dword [edx + 0x58]
test eax, eax
js 0x10056b8b
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056b6e
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056b8b
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056b33
mov eax, 1
jmp 0x10056b6a
comiss xmm2, xmm1
jae 0x10056b68
comiss xmm4, xmm3
jae 0x10056b68
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056b6a
xor eax, eax
test eax, eax
jle 0x10056b8b
cmp byte [ebp - 0xb8], 0
jne 0x10056b8b
cmp byte [ebp - 0x30], 0
je 0x10056b85
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10056b8b
mov byte [ebp - 9], 1
jmp 0x10056b8f
mov byte [ebp - 9], 0
cmp byte [ebp - 0xc], 0
je 0x10056c1a
mov eax, dword [edx + 0x78]
test eax, eax
js 0x10056c1a
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056ca1
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056c1a
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056bdb
mov eax, 1
jmp 0x10056c12
comiss xmm2, xmm1
jae 0x10056c10
comiss xmm4, xmm3
jae 0x10056c10
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056c12
xor eax, eax
test eax, eax
jg 0x10056ca1
cmp byte [ebp - 0x15], 0
je 0x10056cab
mov eax, dword [edx + 0x58]
test eax, eax
js 0x10056cab
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056ca1
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056cab
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056c66
mov eax, 1
jmp 0x10056c9d
comiss xmm2, xmm1
jae 0x10056c9b
comiss xmm4, xmm3
jae 0x10056c9b
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056c9d
xor eax, eax
test eax, eax
jle 0x10056cab
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 0x31], 1
je 0x10056caf
mov byte [ebp - 0x31], 0
mov cl, byte [ebp - 0xc]
test cl, cl
je 0x10056d4f
mov eax, dword [edx + 0x84]
test eax, eax
js 0x10056d4f
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056d3d
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056d4f
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056cff
mov eax, 1
jmp 0x10056d39
comiss xmm2, xmm1
jae 0x10056d37
comiss xmm4, xmm3
jae 0x10056d37
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov cl, byte [ebp - 0xc]
jmp 0x10056d39
xor eax, eax
test eax, eax
jle 0x10056d4f
cmp byte [ebp - 0x4c], 0
jne 0x10056d4f
cmp byte [ebp - 0x70], 0
je 0x10056d4f
mov byte [ebp - 0x15], 1
jmp 0x10056d5b
mov byte [ebp - 0x15], 0
test cl, cl
je 0x10056ddf
mov eax, dword [edx + 0x80]
test eax, eax
js 0x10056ddf
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056e69
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056ddf
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056da0
mov eax, 1
jmp 0x10056dd7
comiss xmm2, xmm1
jae 0x10056dd5
comiss xmm4, xmm3
jae 0x10056dd5
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056dd7
xor eax, eax
test eax, eax
jg 0x10056e69
cmp byte [ebp - 0x25], 0
je 0x10056e79
mov eax, dword [edx + 0x84]
test eax, eax
js 0x10056e79
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056e69
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056e79
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056e2e
mov eax, 1
jmp 0x10056e65
comiss xmm2, xmm1
jae 0x10056e63
comiss xmm4, xmm3
jae 0x10056e63
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056e65
xor eax, eax
test eax, eax
jle 0x10056e79
cmp byte [ebp - 0x4c], 0
jne 0x10056e79
cmp byte [ebp - 0x70], 0
mov byte [ebp - 0x25], 1
jne 0x10056e7d
mov byte [ebp - 0x25], 0
mov eax, dword [edx + 0x38]
test eax, eax
js 0x10056f3e
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056efe
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056f3e
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056ec3
mov eax, 1
jmp 0x10056efa
comiss xmm2, xmm1
jae 0x10056ef8
comiss xmm4, xmm3
jae 0x10056ef8
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056efa
xor eax, eax
test eax, eax
jle 0x10056f3e
cmp byte [ebp - 0x4d], 0
je 0x10056f1b
mov eax, 0x10004
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.10054830
jmp 0x10057a46
cmp byte [ebp - 0x10], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000c
mov eax, 0x10000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x3c]
test eax, eax
js 0x10056fff
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10056fbf
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10056fff
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10056f84
mov eax, 1
jmp 0x10056fbb
comiss xmm2, xmm1
jae 0x10056fb9
comiss xmm4, xmm3
jae 0x10056fb9
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10056fbb
xor eax, eax
test eax, eax
jle 0x10056fff
cmp byte [ebp - 0x4d], 0
je 0x10056fdc
mov eax, 0x10005
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.10054830
jmp 0x10057a46
cmp byte [ebp - 0x10], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000d
mov eax, 0x10001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x40]
test eax, eax
js 0x100570e1
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057080
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100570e1
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057045
mov eax, 1
jmp 0x1005707c
comiss xmm2, xmm1
jae 0x1005707a
comiss xmm4, xmm3
jae 0x1005707a
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1005707c
xor eax, eax
test eax, eax
jle 0x100570e1
cmp byte [ebp - 0x30], 0
je 0x100570e1
cmp byte [ebp - 0xe], 0
je 0x100570c4
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
movss xmm1, dword [esi + 0x5c]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18ac]
addss xmm1, dword [esi + 0xe4]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [esi + 0x5c], xmm0
movss dword [esi + 0xe4], xmm1
jmp 0x10057a5a
movzx eax, byte [ebp - 0xb]
lea edx, [edi + 0x38]
mov ecx, edi
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x44]
test eax, eax
js 0x100571e7
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057166
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100571e7
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057127
mov eax, 1
jmp 0x1005715e
comiss xmm2, xmm1
jae 0x1005715c
comiss xmm4, xmm3
jae 0x1005715c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1005715e
xor eax, eax
test eax, eax
jle 0x100571e7
cmp byte [ebp - 0x30], 0
je 0x100571e7
cmp byte [ebp - 0xe], 0
je 0x100571ca
mov eax, dword [edx + 0x198c]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x74]
movss xmm1, dword [eax + 0x30]
movss xmm3, dword [edx + 0x5c]
movaps xmm2, xmm3
addss xmm2, dword [ecx + 0x18ac]
addss xmm3, dword [edx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [edx + 0x5c], xmm2
movss dword [edx + 0xe4], xmm3
jmp 0x10057a5a
movzx eax, byte [ebp - 0xb]
lea edx, [edi + 0x38]
mov ecx, edi
lea eax, [eax*4 + 0x10003]
or eax, esi
push eax
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x50]
test eax, eax
js 0x10057288
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057264
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057288
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057229
mov eax, 1
jmp 0x10057260
comiss xmm2, xmm1
jae 0x1005725e
comiss xmm4, xmm3
jae 0x1005725e
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10057260
xor eax, eax
test eax, eax
jle 0x10057288
mov eax, esi
lea edx, [edi + 0x38]
or eax, 0x10006
or esi, 0x10004
cmp byte [ebp - 0xe], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x54]
test eax, eax
js 0x10057329
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057305
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057329
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100572ca
mov eax, 1
jmp 0x10057301
comiss xmm2, xmm1
jae 0x100572ff
comiss xmm4, xmm3
jae 0x100572ff
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10057301
xor eax, eax
test eax, eax
jle 0x10057329
mov eax, esi
lea edx, [edi + 0x38]
or eax, 0x10007
or esi, 0x10005
cmp byte [ebp - 0xe], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x5c]
test eax, eax
js 0x100573c2
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100573a6
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100573c2
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005736b
mov eax, 1
jmp 0x100573a2
comiss xmm2, xmm1
jae 0x100573a0
comiss xmm4, xmm3
jae 0x100573a0
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100573a2
xor eax, eax
test eax, eax
jle 0x100573c2
cmp byte [ebp - 0x4c], 0
jne 0x100573c2
or esi, 0x10008
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x60]
test eax, eax
js 0x100574b7
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057443
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100574b7
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057408
mov eax, 1
jmp 0x1005743f
comiss xmm2, xmm1
jae 0x1005743d
comiss xmm4, xmm3
jae 0x1005743d
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1005743f
xor eax, eax
test eax, eax
jle 0x100574b7
cmp byte [ebp - 0x4c], 0
jne 0x100574b7
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x100574a1
cmp byte [ebp - 0x10], 0
je 0x1005745e
push 0x3000c
jmp 0x10057483
cmp byte [ebp - 0x69], 0
je 0x100574a1
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
je 0x100574a1
mov eax, dword [ebp - 8]
cmp byte [eax + 0xfa], 0
jne 0x100574a1
cmp byte [ebp - 0xe], 0
jne 0x100574a1
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10054830
mov dword [edi + 0xe5c], 0xbe99999a
add esp, 4
mov byte [edi + 0xe60], 1
or esi, 0x10009
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.10054830
jmp 0x10057a46
mov eax, dword [edx + 0x68]
test eax, eax
js 0x100575a0
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057538
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100575a0
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100574fd
mov eax, 1
jmp 0x10057534
comiss xmm2, xmm1
jae 0x10057532
comiss xmm4, xmm3
jae 0x10057532
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10057534
xor eax, eax
test eax, eax
jle 0x100575a0
mov ecx, dword [ebx + 0x10]
mov eax, ecx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x30], 0
je 0x10057552
test al, al
je 0x1005755f
cmp byte [ebp - 0xe], 0
jne 0x10057565
mov byte [ebp - 0xd], 1
mov byte [ebp - 0x26], 1
jmp 0x10057a5a
cmp byte [ebp - 0xe], 0
jne 0x10057552
cmp byte [ebp - 0x4c], 0
jne 0x10057a5a
mov dword [ebp - 0x24], 0xa
sub esp, 8
mov edx, ecx
lea ecx, [ebp - 0x24]
call fcn.10055850
add esp, 8
test al, al
je 0x10057a5a
push dword [ebp - 0x24]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10054830
jmp 0x10057a46
mov ecx, dword [ebx + 0x10]
test ecx, 0x400
je 0x1005765d
mov eax, dword [edx + 0x34]
test eax, eax
js 0x1005765d
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057633
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1005765d
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100575f5
mov eax, 1
jmp 0x1005762f
comiss xmm2, xmm1
jae 0x1005762d
comiss xmm4, xmm3
jae 0x1005762d
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [ebx + 0x10]
jmp 0x1005762f
xor eax, eax
test eax, eax
jle 0x1005765d
cmp byte [ebp - 0xe], 0
jne 0x1005765d
cmp byte [ebp - 0xa], 0
jne 0x1005765d
mov eax, dword [ebp - 8]
cmp byte [eax + 0xfa], 0
jne 0x1005765d
cmp byte [ebp - 0x4c], 0
jne 0x1005765d
mov dword [ebp - 0x24], 9
jmp 0x10057576
mov eax, dword [edx + 0x6c]
test eax, eax
js 0x100576e4
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100576da
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100576e4
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005769f
mov eax, 1
jmp 0x100576d6
comiss xmm2, xmm1
jae 0x100576d4
comiss xmm4, xmm3
jae 0x100576d4
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100576d6
xor eax, eax
test eax, eax
jle 0x100576e4
mov cl, 1
mov byte [ebp - 0xd], cl
jmp 0x10057a5d
mov al, byte [ebp - 0x15]
test al, al
jne 0x10057a27
cmp byte [ebp - 0x25], al
jne 0x10057a27
cmp byte [ebp - 0xc], al
je 0x10057797
mov eax, dword [edx + 0x70]
test eax, eax
js 0x10057797
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1005777e
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057797
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057743
mov eax, 1
jmp 0x1005777a
comiss xmm2, xmm1
jae 0x10057778
comiss xmm4, xmm3
jae 0x10057778
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1005777a
xor eax, eax
test eax, eax
jle 0x10057797
mov eax, dword [edi + 4]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x10057a53
mov al, byte [ebp - 0xf]
test al, al
jne 0x1005792d
cmp byte [ebp - 9], al
jne 0x1005792d
cmp byte [ebp - 0x31], al
je 0x10057a5a
mov eax, dword [edx + 0xc8]
test eax, eax
je 0x100577db
push dword [edx + 0xd0]
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x10057a5a
mov edx, dword [0x101257f8]
jmp 0x100577e0
mov esi, 0x1007f7ef
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100577e8
sub ecx, dword [ebp - 0x38]
test edx, edx
je 0x100577fc
inc dword [edx + 0x36c]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
cmp byte [esi], al
je 0x10057871
xor edi, edi
nop dword [eax]
push 0
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.10031560
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10057865
cmp eax, 0x10000
jae 0x10057860
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
sub esp, 8
call fcn.10055850
add esp, 8
test al, al
je 0x10057860
mov ecx, dword [ebp - 0x14]
mov ax, word [ebp - 0x40]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10057820
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1005790b
mov edx, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100578a5
cmp ecx, eax
jle 0x10057895
mov dword [edi + 0x3c], eax
mov ecx, eax
cmp edx, eax
jle 0x1005789e
mov dword [edi + 0x40], eax
mov edx, eax
cmp ecx, edx
jne 0x100578a5
mov dword [edi + 0x38], ecx
cmp dword [edi + 0x38], eax
jle 0x100578ad
mov dword [edi + 0x38], eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.100547a0
push dword [ebp - 0x1c]
mov edx, dword [edi + 0x38]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.10054320
add esp, 8
test al, al
je 0x100578ed
push dword [ebp - 0x1c]
mov edx, dword [edi + 0x38]
lea ecx, [edi + 0x50]
push 0
call fcn.10055540
mov eax, dword [ebp - 0x1c]
add esp, 8
add dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x10057901
movzx eax, word [edi + 0xe4e]
test ax, ax
je 0x10057901
dec eax
mov word [edi + 0xe4e], ax
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xe60], 1
test ecx, ecx
je 0x1005791e
mov eax, dword [0x101257f8]
test eax, eax
je 0x1005791e
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10057a5a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xcc], 0
je 0x100579e7
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
je 0x10057951
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10057956
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x70], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10031820
lea ecx, [eax + 1]
mov eax, dword [0x101257f8]
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x1005797f
inc dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x70]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.100316f0
mov eax, dword [0x101257f8]
add esp, 8
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x100579cc
push esi
push dword [eax + 0xd0]
call ecx
mov eax, dword [0x101257f8]
add esp, 8
test esi, esi
je 0x100579da
test eax, eax
je 0x100579da
dec dword [eax + 0x36c]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0xf]
add esp, 4
test al, al
je 0x10057a5a
mov eax, dword [edi + 0x3c]
lea esi, [edi + 0x38]
cmp eax, dword [edi + 0x40]
jne 0x10057a09
mov eax, dword [edi + 4]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [esi], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xe60], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10057a5a
mov edx, esi
mov ecx, edi
call fcn.100547a0
mov byte [esi + 0xf], 0
jmp 0x10057a5a
movzx eax, al
lea edx, [edi + 0x38]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.10054830
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
add esp, 4
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x19ac]
cmp eax, dword [ebp - 0x20]
jne 0x100580e4
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x1c], eax
test cl, cl
je 0x10057ad8
cmp byte [ebp - 0x4c], al
jne 0x10057ac3
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0x2c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057ab0
test dl, dl
je 0x10057aac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057ab0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057a90
xor eax, eax
jmp 0x10057ab5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057ac3
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x26], 0
mov eax, dword [ebx + 0x10]
je 0x10057fe4
test al, 0x20
je 0x10057fe4
cmp byte [ebp - 0x4c], 0
jne 0x10057b33
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x10057b1f
test eax, eax
je 0x10057b05
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10057b0d
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10041ad0
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.100316f0
add esp, 8
mov ecx, dword [ebx + 0x10]
test ecx, 0x1c0
je 0x10057f9b
mov edx, dword [0x101257f8]
xor esi, esi
xorps xmm4, xmm4
test cl, 0x40
je 0x10057bdc
mov eax, dword [edx + 0x34]
test eax, eax
js 0x10057bdc
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057bd0
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057bdc
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057b92
lea eax, [esi + 1]
jmp 0x10057bcc
comiss xmm2, xmm1
jae 0x10057bca
comiss xmm4, xmm3
jae 0x10057bca
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [ebx + 0x10]
jmp 0x10057bcc
xor eax, eax
test eax, eax
jle 0x10057bdc
mov esi, 0x40
xor eax, eax
jmp 0x10057d11
test cl, cl
jns 0x10057cfe
mov eax, dword [edx + 0x40]
test eax, eax
js 0x10057c71
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057c64
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057c71
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057c26
mov eax, 1
jmp 0x10057c60
comiss xmm2, xmm1
jae 0x10057c5e
comiss xmm4, xmm3
jae 0x10057c5e
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [ebx + 0x10]
jmp 0x10057c60
xor eax, eax
test eax, eax
jle 0x10057c71
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x10057d11
mov eax, dword [edx + 0x44]
test eax, eax
js 0x10057cfe
movss xmm1, dword [edx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10057cee
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10057cfe
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10057cb3
mov eax, 1
jmp 0x10057cea
comiss xmm2, xmm1
jae 0x10057ce8
comiss xmm4, xmm3
jae 0x10057ce8
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10057cea
xor eax, eax
test eax, eax
jle 0x10057cfb
mov ecx, dword [ebx + 0x10]
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x10057d11
mov ecx, dword [ebx + 0x10]
test ecx, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x15
test esi, esi
je 0x10057f9b
mov dword [ebp - 0x12c], eax
xor edx, edx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x13c], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x38]
mov word [ebp - 0x11b], dx
mov byte [ebp - 0x119], dl
mov dword [ebp - 0x138], ecx
mov ecx, esi
mov dword [ebp - 0x134], edx
mov byte [ebp - 0x11c], dl
lea edx, [esi + eax*2]
mov dword [ebp - 0x130], 0
call fcn.10031820
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov dword [ebp - 0x118], edi
mov ecx, dword [ecx + 0x3c]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10031820
mov dword [ebp - 0x5c], eax
mov ecx, esi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x40]
lea edx, [esi + edx*2]
call fcn.10031820
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x13c]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x118]
add esp, 4
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x48], eax
cmp ecx, edi
je 0x10057e26
lea edi, [ecx + eax]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10057de8
cmp esi, edi
jae 0x10057e14
cmp byte [esi], 0
je 0x10057e14
push edi
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.10031560
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10057e11
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10057de0
inc eax
jmp 0x10057ddd
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x48]
mov byte [esi + 0xe60], 1
jmp 0x10057e29
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x5c]
je 0x10057e7d
lea esi, [ecx + eax]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
nop
test esi, esi
je 0x10057e48
cmp edi, esi
jae 0x10057e74
cmp byte [edi], 0
je 0x10057e74
push esi
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10031560
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10057e71
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10057e40
inc eax
jmp 0x10057e3b
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [ebp - 0x24]
je 0x10057ecc
lea esi, [ecx + eax]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10057e9a
cmp edi, esi
jae 0x10057ec6
cmp byte [edi], 0
je 0x10057ec6
push esi
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10031560
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10057ec3
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10057e92
inc eax
jmp 0x10057e8f
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x40], eax
cmp byte [ebp - 0x11c], 0
je 0x10057f9b
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x68]
cmp edi, ecx
jle 0x10057f2e
cmp byte [ebp - 0x58], 0
je 0x10057f2e
mov eax, dword [esi + 0x10]
sub edi, ecx
add edi, dword [esi + 0xc]
cmp edi, eax
jle 0x10057f2b
test eax, eax
je 0x10057f0b
cdq
sub eax, edx
lea edx, [esi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10057f13
mov ecx, 8
lea edx, [esi + 0xc]
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10041c40
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x48], eax
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0x14]
mov edi, ecx
mov eax, dword [esi + 0xc]
dec eax
mov dword [ebp - 0x24], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x5c], eax
cmp ecx, eax
jae 0x10057f7c
mov esi, dword [ebp - 0x48]
cmp byte [esi], 0
je 0x10057f76
push 0
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.10031560
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10057f76
cmp eax, 0x10000
jae 0x10057f71
mov word [edi], ax
add edi, 2
cmp edi, dword [ebp - 0x5c]
jb 0x10057f47
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov word [edi], ax
sub edi, ecx
mov eax, dword [ebp - 0x124]
sar edi, 1
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xe5c], 0xbe99999a
cmp byte [ebp - 0x4c], 0
mov edi, dword [ebp - 0x3c]
jne 0x10057fe1
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0x2c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057fd0
test dl, dl
je 0x10057fcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057fd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057fb0
xor eax, eax
jmp 0x10057fd5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x10]
je 0x10057fe4
mov ecx, dword [edi + 8]
jmp 0x10057fea
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
test esi, esi
je 0x100580bd
cmp dword [ebp - 0x68], ecx
je 0x10058088
cmp byte [ebp - 0x58], 0
je 0x10058088
mov dword [ebp - 0x168], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x158], eax
lea eax, [ecx + 1]
cmp dword [ebx + 8], eax
movlpd qword [ebp - 0x160], xmm0
cmovge eax, dword [ebx + 8]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x16c]
push eax
xor eax, eax
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x16c], 0x40000
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x164], 0
call eax
mov edx, dword [ebp - 0x150]
add esp, 4
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x2c], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x154], ecx
cmovl ecx, dword [ebp - 0x154]
jmp 0x1005808b
mov edx, dword [ebx + 8]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 8], edx
cmp edx, 1
jb 0x100580b9
jbe 0x100580b1
lea eax, [edx - 1]
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov byte [edx + eax - 1], 0
mov byte [ebp - 0x41], 1
mov eax, dword [ebp - 8]
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov eax, dword [eax + 0x19ac]
cmp byte [ebp - 0xd], 0
mov edx, eax
mov ecx, dword [ebp - 0x20]
je 0x10058104
cmp eax, ecx
jne 0x10058104
call fcn.100333e0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x19ac]
cmp byte [ebp - 0x30], 0
jne 0x100581e0
mov edx, ecx
lea ecx, [ebp - 0xb0]
push 1
call fcn.10032740
movss xmm1, dword [0x100e04e4]
add esp, 4
mov ecx, 7
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call fcn.10031a00
mov ecx, dword [ebp - 8]
mov dl, 1
movss xmm2, dword [ecx + 0x153c]
mov ecx, eax
call fcn.10032050
mov eax, dword [ebp - 8]
add esp, 0x10
movss xmm7, dword [ebp - 0xb0]
movss xmm5, dword [ebp - 0xac]
movaps xmm0, xmm7
movss xmm4, dword [ebp - 0x80]
movaps xmm1, xmm5
addss xmm0, dword [eax + 0x1534]
addss xmm1, dword [ebp - 0x7c]
mov edx, dword [eax + 0x19ac]
movaps xmm2, xmm4
mov esi, dword [ebp - 0x60]
addss xmm2, xmm7
movss dword [ebp - 0x10c], xmm7
movss dword [ebp - 0xc0], xmm0
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x1538]
movss dword [ebp - 0x108], xmm5
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x104], xmm2
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0x68], xmm1
jmp 0x1005824c
movss xmm0, dword [ebp - 0xb0]
movss xmm1, dword [ebp - 0xac]
movss xmm4, dword [ebp - 0x80]
movaps xmm2, xmm1
addss xmm2, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x60]
movaps xmm3, xmm4
addss xmm3, xmm0
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0x108], xmm1
mov eax, dword [esi + 0xc8]
movaps xmm1, xmm2
mov ecx, dword [esi + 0xcc]
movaps xmm0, xmm3
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x104], xmm0
movss dword [ebp - 0x68], xmm2
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
movss dword [ebp - 0x100], xmm1
lea eax, [ebp - 0xc0]
movss xmm0, dword [eax]
xorps xmm6, xmm6
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x74], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x70], xmm0
movss dword [ebp - 0x24], xmm6
test edi, edi
je 0x1005829a
cmp byte [ebp - 0x4c], 0
jne 0x1005829a
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x2c], eax
cmp edx, dword [ebp - 0x20]
je 0x100582a9
cmp byte [ebp - 0x27], 0
jne 0x100582a9
xor dl, dl
jmp 0x100582ab
mov dl, 1
mov byte [ebp - 0xd], dl
lea ecx, [edi + 0x40]
test edi, edi
je 0x100582c6
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x88], ecx
cmp eax, dword [ecx]
je 0x100582c6
mov al, 1
jmp 0x100582ce
xor al, al
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0xf], al
test dl, dl
jne 0x100584ab
test al, al
jne 0x100584ab
cmp byte [ebp - 0x30], dl
je 0x1005833b
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov al, byte [edx]
inc edx
mov byte [ebp - 0x27], al
test al, al
je 0x1005830b
cmp byte [ebp - 0x27], 0xa
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov al, byte [edx]
inc edx
mov byte [ebp - 0x27], al
test al, al
jne 0x100582f5
mov al, byte [edx - 1]
dec edx
cmp al, 0xa
je 0x10058318
cmp al, 0xd
je 0x10058318
inc ecx
mov edi, dword [ebp - 8]
movaps xmm0, xmm4
movd xmm7, ecx
add edi, 0x18ac
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x70], xmm0
mulss xmm7, dword [edi]
movss dword [ebp - 0x24], xmm7
jmp 0x10058364
mov edi, dword [ebp - 0x2c]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058343
sub ecx, edx
lea edx, [ecx + edi]
cmp ecx, 0x200000
jge 0x10058f9d
mov edi, dword [ebp - 8]
add edi, 0x18ac
mov eax, dword [esi + 0x274]
xor ecx, ecx
movss xmm1, dword [0x100e04e4]
mov dword [ebp - 0x14], eax
call fcn.10031a00
movss xmm2, dword [edi]
lea esi, [ebp - 0x10c]
xor ecx, ecx
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x30], cl
mov eax, dword [ebp - 8]
cmovne esi, ecx
mov ecx, edi
test dword [ebp - 0x58], 0xff000000
mov eax, dword [eax + 0x18a8]
mov dword [ebp - 0x40], eax
je 0x10058edb
test edx, edx
jne 0x100583c7
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100583b6
mov eax, dword [ebp - 0x40]
sub ecx, edx
mov edx, dword [ebp - 0x2c]
add edx, ecx
mov ecx, edi
cmp dword [ebp - 0x2c], edx
je 0x10058edb
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x100583e2
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
ucomiss xmm2, dword [0x100e03e8]
lahf
test ah, 0x44
jp 0x100583f7
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x3c]
shl ecx, 4
mov eax, dword [eax + 0x44]
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0xa0], xmm0
test esi, esi
je 0x10058474
movss xmm1, dword [esi]
movss xmm0, dword [ebp - 0xa0]
comiss xmm0, xmm1
jae 0x1005842c
movss dword [ebp - 0xa0], xmm1
movss xmm1, dword [esi + 4]
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, xmm1
jae 0x10058446
movss dword [ebp - 0x9c], xmm1
movss xmm0, dword [esi + 8]
comiss xmm0, dword [ebp - 0x98]
ja 0x1005845c
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [esi + 0xc]
comiss xmm0, dword [ebp - 0x94]
ja 0x10058472
movss dword [ebp - 0x94], xmm0
test esi, esi
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0xa0]
mov dword [esp], 0
push edx
push dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x48]
push dword [ebp - 0x58]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x14]
call fcn.1004e280
mov ecx, edi
jmp 0x10058edb
mov ecx, dword [edi + 0x14]
mov esi, 0xfffffc18
xor edx, edx
mov dword [ebp - 0x20], ecx
xorps xmm7, xmm7
movss dword [ebp - 0x5c], xmm6
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x54], esi
cmp byte [ebp - 0xd], dl
je 0x100584f7
mov eax, dword [edi + 0x38]
or esi, 0xffffffff
mov dword [ebp - 0x84], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0xb4], eax
lea edx, [esi + 2]
cmp byte [ebp - 0xf], 0
je 0x10058520
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], 0xffffffff
mov ecx, dword [ecx]
cmp dword [edi + 0x3c], ecx
cmovl ecx, dword [edi + 0x3c]
inc edx
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test ax, ax
je 0x10058591
mov edi, dword [ebp - 0x84]
mov esi, eax
cmp si, 0xa
jne 0x10058574
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp edi, 0xffffffff
jne 0x10058561
cmp ecx, dword [ebp - 0xb4]
jb 0x10058561
dec edx
mov edi, eax
test edx, edx
jle 0x10058582
cmp dword [ebp - 0x54], 0xffffffff
jne 0x10058574
cmp ecx, dword [ebp - 0x64]
jb 0x10058574
dec edx
mov dword [ebp - 0x54], eax
test edx, edx
jle 0x10058582
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10058540
mov dword [ebp - 0x84], edi
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0x14], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x54], ecx
mov ecx, esi
cmp esi, edx
jbe 0x100585cf
cmp word [ecx - 2], 0xa
je 0x100585cf
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x100585c1
mov edx, dword [0x101257f8]
movaps xmm1, xmm6
movaps xmm4, xmm6
mov eax, dword [edx + 0x18a8]
movss xmm3, dword [edx + 0x18ac]
mov dword [ebp - 0x94], eax
divss xmm3, dword [eax + 0x10]
cmp ecx, esi
jae 0x10058643
mov edi, eax
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x10058616
maxss xmm1, xmm4
movaps xmm4, xmm6
jmp 0x10058638
cmp esi, 0xd
je 0x10058638
mov esi, eax
cmp esi, dword [edi]
jge 0x1005862b
mov eax, dword [edi + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x10058630
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm3
addss xmm4, xmm0
cmp ecx, dword [ebp - 0xb4]
jb 0x10058600
mov edi, dword [ebp - 0x3c]
cmp dword [ebp - 0x54], 0
maxss xmm4, xmm1
movd xmm5, dword [ebp - 0x84]
mov ecx, dword [ebp - 8]
cvtdq2ps xmm5, xmm5
movss xmm2, dword [ecx + 0x18ac]
mulss xmm5, xmm2
movss dword [ebp - 0xb4], xmm4
movss dword [ebp - 0x84], xmm5
jl 0x1005870b
mov esi, dword [ebp - 0x64]
mov ecx, esi
cmp esi, dword [ebp - 0x20]
jbe 0x10058699
mov edi, dword [ebp - 0x20]
cmp word [ecx - 2], 0xa
je 0x10058696
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x10058688
mov edi, dword [ebp - 0x3c]
movaps xmm1, xmm6
movaps xmm7, xmm6
cmp ecx, esi
jae 0x100586f3
mov edx, dword [ebp - 0x94]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x100586c4
maxss xmm1, xmm7
movaps xmm7, xmm6
jmp 0x100586e9
cmp eax, 0xd
je 0x100586e9
mov esi, eax
cmp esi, dword [edx]
jge 0x100586d9
mov eax, dword [edx + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x100586de
movss xmm0, dword [edx + 0xc]
mov esi, dword [ebp - 0x64]
mulss xmm0, xmm3
addss xmm7, xmm0
cmp ecx, esi
jb 0x100586b0
mov edx, dword [0x101257f8]
movd xmm0, dword [ebp - 0x54]
maxss xmm7, xmm1
mov ecx, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
cmp byte [ebp - 0x30], 0
movss xmm3, dword [ebp - 0x80]
je 0x10058732
movd xmm6, dword [ebp - 0x14]
movaps xmm0, xmm3
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x70], xmm0
mulss xmm6, xmm2
movss dword [ebp - 0x24], xmm6
xorps xmm6, xmm6
cmp byte [ebp - 0xd], 0
je 0x100587fd
cmp byte [edi + 0xe60], 0
je 0x100587fd
test dword [ebx + 0x10], 0x1000
jne 0x10058799
movss xmm1, dword [edi + 0x34]
movaps xmm2, xmm3
comiss xmm1, xmm4
mulss xmm2, dword [0x100e0484]
jbe 0x10058777
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x10058787
movaps xmm0, xmm4
subss xmm0, xmm3
comiss xmm0, xmm1
jb 0x100587a0
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x100587a0
mov dword [edi + 0x34], 0
cmp byte [ebp - 0x30], 0
je 0x100587f6
mov eax, dword [ebp - 0x60]
movaps xmm1, xmm5
subss xmm1, dword [ecx + 0x18ac]
movss xmm6, dword [eax + 0x5c]
comiss xmm6, xmm1
jbe 0x100587c7
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x100587d3
movaps xmm0, xmm5
subss xmm0, dword [ebp - 0x7c]
maxss xmm0, xmm6
subss xmm6, xmm0
movss dword [eax + 0x5c], xmm0
addss xmm6, dword [eax + 0xcc]
movss dword [ebp - 0x1c], xmm6
movss dword [eax + 0xcc], xmm6
movss dword [ebp - 0x74], xmm6
mov byte [edi + 0xe60], 0
cmp byte [ebp - 0xf], 0
movss xmm4, dword [edi + 0x34]
movss dword [ebp - 0x14], xmm4
je 0x10058ac8
mov eax, dword [ebp - 0x88]
mov ecx, dword [edi + 0x3c]
mov esi, dword [ebp - 0x20]
mov edx, dword [eax]
cmp ecx, edx
mov eax, edx
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xd], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*2]
mov dword [ebp - 0x88], eax
je 0x10058848
movss xmm1, dword [0x100e04e4]
jmp 0x10058850
movss xmm1, dword [0x100e04b0]
mov ecx, 0x2a
call fcn.10031a00
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x94], eax
je 0x10058878
xorps xmm0, xmm0
movss dword [ebp - 0xf4], xmm0
movss dword [ebp - 0x64], xmm0
jmp 0x10058888
movss xmm0, dword [0x100e0524]
movss dword [ebp - 0x64], xmm0
xorps xmm0, xmm0
movss xmm6, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
movaps xmm4, xmm6
addss xmm4, dword [ebp - 0x5c]
movss xmm3, dword [ecx]
mov ecx, dword [ebp - 0x88]
addss xmm3, xmm7
subss xmm4, xmm0
subss xmm3, dword [ebp - 0x14]
movss dword [ebp - 0x5c], xmm4
cmp esi, ecx
jae 0x10058b18
movss xmm7, dword [ebp - 0x58]
mov edi, dword [0x101257f8]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
nop dword [eax]
movss xmm6, dword [edx + 0x18ac]
movaps xmm0, xmm7
addss xmm0, xmm6
comiss xmm4, xmm0
ja 0x10058aba
movss xmm0, dword [ebp - 0xac]
comiss xmm0, xmm4
jbe 0x10058919
cmp esi, ecx
jae 0x10058a9c
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10058a99
cmp esi, ecx
jb 0x10058900
jmp 0x10058a99
mov edx, dword [edi + 0x18a8]
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x18ac]
xorps xmm5, xmm5
xorps xmm1, xmm1
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x10058986
nop dword [eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x10058979
cmp eax, 0xd
je 0x10058973
mov ecx, eax
cmp ecx, dword [edx]
jge 0x10058960
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10058965
movss xmm0, dword [edx + 0xc]
mov ecx, dword [ebp - 0x88]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ecx
jb 0x10058940
jmp 0x10058983
xorps xmm5, xmm5
maxss xmm5, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm5
comiss xmm0, xmm1
jb 0x100589c2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18a8]
cmp dword [eax], 0x20
jle 0x100589aa
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x100589af
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100e04a8]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0xf4]
addss xmm1, xmm3
movss xmm0, dword [ebp - 0x64]
subss xmm2, xmm6
addss xmm3, dword [0x100e03e8]
movss xmm5, dword [ebp - 0x38]
addss xmm0, xmm4
minss xmm1, xmm5
addss xmm2, xmm4
maxss xmm3, dword [ebp - 0xb0]
minss xmm0, xmm7
movss dword [ebp - 0xe0], xmm1
maxss xmm2, dword [ebp - 0xac]
movss dword [ebp - 0xe8], xmm3
comiss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0xe4], xmm2
movss dword [ebp - 0xdc], xmm0
jbe 0x10058a96
comiss xmm7, xmm2
jbe 0x10058a96
comiss xmm1, dword [ebp - 0xb0]
jbe 0x10058a96
comiss xmm5, xmm3
jbe 0x10058a96
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xe0]
push dword [ebp - 0x94]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x274]
call fcn.1004b4d0
movss xmm0, dword [ebp - 0x40]
movss xmm4, dword [ebp - 0x5c]
movss xmm7, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x88]
mov edi, dword [0x101257f8]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x68], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x48]
movss xmm3, dword [eax]
addss xmm4, dword [edx + 0x18ac]
subss xmm3, dword [ebp - 0x14]
movss dword [ebp - 0x5c], xmm4
cmp esi, ecx
jb 0x100588d0
movss xmm4, dword [ebp - 0x14]
mov edi, dword [ebp - 0x3c]
mov edx, dword [0x101257f8]
movss xmm6, dword [ebp - 0x1c]
cmp byte [ebp - 0x30], 0
mov esi, dword [edi + 8]
jne 0x10058ae2
cmp esi, 0x200000
jge 0x10058d31
movups xmm1, xmmword [edx + 0x15a8]
mov eax, dword [ebp - 0x60]
xorps xmm5, xmm5
comiss xmm5, xmm1
mov eax, dword [eax + 0x274]
mov dword [ebp - 0x64], eax
movaps xmm2, xmm1
movaps xmmword [ebp - 0xf0], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [edx + 0x1500]
jbe 0x10058b25
xorps xmm0, xmm0
jmp 0x10058b31
movss xmm4, dword [ebp - 0x14]
mov edx, dword [0x101257f8]
jmp 0x10058acd
movss xmm0, dword [0x100e04e4]
minss xmm0, xmm1
movss xmm1, dword [0x100e060c]
movss xmm7, dword [0x100e04a8]
movss xmm3, dword [ebp - 0xec]
comiss xmm5, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10058b5f
xorps xmm0, xmm0
jmp 0x10058b6b
movss xmm0, dword [0x100e04e4]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0xe8]
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10058b8e
xorps xmm0, xmm0
jmp 0x10058b9a
movss xmm0, dword [0x100e04e4]
minss xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10058bb5
xorps xmm0, xmm0
jmp 0x10058bc1
movss xmm0, dword [0x100e04e4]
minss xmm0, xmm2
mulss xmm0, xmm1
lea edx, [ebp - 0x10c]
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x94], 0
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x48]
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x38], eax
cmovne edx, dword [ebp - 0x94]
movss xmm0, dword [ecx]
mov ecx, dword [ebp - 8]
subss xmm0, xmm4
movss xmm2, dword [ecx + 0x18ac]
mov ecx, dword [ecx + 0x18a8]
movss dword [ebp - 0xf8], xmm0
movaps xmm0, xmm6
mov dword [ebp - 0x58], ecx
subss xmm0, xmm5
movss dword [ebp - 0xf4], xmm0
test eax, 0xff000000
je 0x10058d34
test esi, esi
jne 0x10058c54
mov ecx, dword [ebp - 0x2c]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058c40
mov eax, dword [ebp - 0x2c]
sub ecx, esi
lea esi, [eax + ecx]
mov ecx, dword [ebp - 0x58]
jmp 0x10058c57
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x10058d34
test ecx, ecx
mov ecx, dword [ebp - 0x64]
jne 0x10058c6f
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x10058c80
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x3c]
shl ecx, 4
mov eax, dword [eax + 0x44]
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0xa0], xmm0
test edx, edx
je 0x10058cfd
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0xa0]
comiss xmm0, xmm1
jae 0x10058cb5
movss dword [ebp - 0xa0], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, xmm1
jae 0x10058ccf
movss dword [ebp - 0x9c], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x98]
ja 0x10058ce5
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x94]
ja 0x10058cfb
movss dword [ebp - 0x94], xmm0
test edx, edx
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xa0]
mov dword [esp], 0
push esi
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push dword [ebp - 0x64]
call fcn.1004e280
xorps xmm5, xmm5
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
lea esi, [eax + 0x18ac]
mov ecx, esi
je 0x10058edb
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 0xe5c]
movss dword [edi + 0xe5c], xmm0
cmp byte [eax + 0xae], 0
je 0x10058dab
comiss xmm5, xmm0
jae 0x10058dab
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x98], xmm0
fld qword [ebp - 0x98]
fld qword [0x100e0518]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100e04cc]
fstp qword [ebp - 0x98]
movsd xmm1, qword [ebp - 0x98]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10058dab
xor al, al
jmp 0x10058dad
mov al, 1
movss xmm3, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
movss xmm6, dword [0x100e04e4]
addss xmm3, dword [ebp - 0x84]
movss xmm4, dword [ecx]
addss xmm4, dword [ebp - 0xb4]
subss xmm3, dword [0x100e03e8]
subss xmm4, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm3
movaps xmm0, xmm3
movaps xmm1, xmm3
subss xmm0, dword [esi]
movss dword [ebp - 0x94], xmm4
movaps xmm2, xmm4
movss dword [ebp - 0xe8], xmm4
addss xmm2, xmm6
subss xmm1, dword [0x100e04fc]
addss xmm0, dword [0x100e04a8]
movss dword [ebp - 0xe0], xmm2
movss dword [ebp - 0xdc], xmm1
movss dword [ebp - 0xe4], xmm0
test al, al
je 0x10058eb8
comiss xmm1, dword [ebp - 0xac]
jbe 0x10058eb8
movss xmm5, dword [ebp - 0x68]
comiss xmm5, xmm0
jbe 0x10058eb8
comiss xmm2, dword [ebp - 0xb0]
jbe 0x10058eb8
movss xmm0, dword [ebp - 0x40]
comiss xmm0, xmm4
jbe 0x10058eb8
sub esp, 8
movss dword [ebp - 0xbc], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0xc0], xmm4
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10031a00
add esp, 4
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x274]
call fcn.1004b2d0
movss xmm3, dword [ebp - 0x1c]
movss xmm4, dword [ebp - 0x94]
movss xmm6, dword [0x100e04e4]
cmp byte [ebp - 0x4c], 0
mov ecx, esi
jne 0x10058edb
subss xmm3, dword [esi]
mov eax, dword [ebp - 8]
subss xmm4, xmm6
movss dword [eax + 0x2c30], xmm3
movss dword [eax + 0x2c2c], xmm4
cmp byte [ebp - 0x30], 0
je 0x10058f9a
movss xmm4, dword [ebp - 0x24]
xorps xmm5, xmm5
addss xmm4, dword [ecx]
mov ecx, dword [0x101257f8]
movss xmm0, dword [ebp - 0x70]
addss xmm0, xmm5
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x10058f90
movss xmm3, dword [eax + 0xc8]
lea ecx, [ebp - 0xc0]
movss xmm1, dword [eax + 0xcc]
movaps xmm2, xmm3
addss xmm2, xmm0
movss dword [ebp - 0xe4], xmm1
movaps xmm0, xmm1
movss dword [ebp - 0xe8], xmm3
addss xmm0, xmm4
movss dword [ebp - 0xe0], xmm2
subss xmm2, xmm3
movss dword [ebp - 0xdc], xmm0
subss xmm0, xmm1
xorps xmm1, xmm1
movss dword [ebp - 0xc0], xmm2
movss dword [ebp - 0xbc], xmm0
call fcn.10033440
push 0
xor edx, edx
lea ecx, [ebp - 0xe8]
call fcn.10033550
add esp, 4
call fcn.10036310
call fcn.1003bc20
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xb8]
test cl, cl
je 0x10058fb2
call fcn.1003b4e0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2c68], 0
je 0x10058fd4
test cl, cl
jne 0x10058fd4
push 0
mov edx, edi
lea ecx, [ebp - 0x78]
call fcn.10040720
mov eax, dword [ebp - 8]
add esp, 4
movss xmm0, dword [ebp - 0xcc]
comiss xmm0, dword [0x100e03e8]
jbe 0x10059027
movss xmm0, dword [ebp - 0xa8]
xor edx, edx
addss xmm0, dword [eax + 0x154c]
mov ecx, dword [ebp - 0xfc]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, dword [eax + 0x1538]
movss dword [ebp - 0x74], xmm0
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
call fcn.10031c90
add esp, 0xc
mov cl, byte [ebp - 0x41]
test cl, cl
je 0x10059047
mov eax, dword [0x101257f8]
mov byte [eax + 0x19bf], 1
mov eax, dword [eax + 0x198c]
or dword [eax + 0x110], 4
test byte [ebx + 0x10], 0x20
movzx eax, cl
movzx ecx, byte [ebp - 0x26]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret