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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [0x1004ad74]
mov dword [ebp - 0x150], ecx
mov ecx, esi
mov dword [ebp - 0xc4], eax
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [ecx + 0x19b0]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xc0], ecx
mov byte [eax + 0x7c], 1
mov ebx, dword [ecx + 0x19b0]
mov dword [ebp - 0x10c], ebx
cmp byte [ebx + 0x7f], 0
jne 0x10033424
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0xe
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x14
mov dword [ebp - 0xe0], eax
and edx, 0xffffff01
mov eax, ecx
mov dword [ebp - 0xd4], edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x14c], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x108], eax
mov eax, ecx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x140], eax
test dl, dl
je 0x10033101
call fcn.10018a40
mov esi, dword [0x1004ad74]
mov ecx, dword [ebx + 0xbc]
xor edx, edx
mov eax, dword [ebx + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x150]
call fcn.1000cbb0
add esp, 4
mov dword [ebp - 0xcc], eax
cmp dword [esi + 0x19e4], eax
jne 0x10033135
mov dword [esi + 0x19e8], eax
cmp dword [esi + 0x1a18], eax
jne 0x10033144
mov byte [esi + 0x1a1c], 1
mov eax, dword [ebp - 0x150]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10033167
mov dl, byte [ecx]
test dl, dl
je 0x10033167
cmp dl, 0x23
jne 0x10033161
cmp byte [ecx + 1], dl
je 0x10033167
inc ecx
cmp ecx, 0xffffffff
jb 0x10033151
movss xmm2, dword [esi + 0x18c4]
xorps xmm6, xmm6
cmp eax, ecx
jne 0x10033180
movss dword [ebp - 0x154], xmm6
jmp 0x100331d4
movss xmm3, dword [0x10045f74]
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x18c0]
lea eax, [ebp - 0x118]
mov dword [esp], 0xbf800000
push eax
call fcn.1002a750
movss xmm0, dword [ebp - 0x118]
xorps xmm6, xmm6
addss xmm0, dword [0x10045ec8]
movss xmm2, dword [ebp - 0x114]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x154], xmm0
cmp byte [ebp - 0xd4], 0
mov edx, dword [ebp - 0xc0]
je 0x100331f3
movss xmm2, dword [edx + 0x18c4]
mulss xmm2, dword [0x10045f18]
test byte [esi + 0x1a84], 1
mov ecx, dword [esi + 0x19b0]
je 0x1003320c
movss xmm0, dword [esi + 0x1a88]
jmp 0x10033214
movss xmm0, dword [ecx + 0x170]
comiss xmm6, xmm0
movss xmm3, dword [0x10045ecc]
jbe 0x1003324f
mov eax, ecx
cmp dword [eax + 0x1c0], 0
movss xmm1, dword [eax + 0x21c]
je 0x1003323c
movss xmm1, dword [eax + 0x1fc]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
movss xmm5, dword [edx + 0x154c]
xorps xmm1, xmm1
movss xmm7, dword [edi]
movaps xmm3, xmm5
comiss xmm6, xmm7
cvttss2si eax, xmm0
addss xmm3, xmm5
movss dword [ebp - 0x110], xmm7
xorps xmm0, xmm0
movd xmm4, eax
addss xmm3, xmm2
movss xmm2, dword [edi + 4]
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0x120], xmm2
ja 0x10033296
comiss xmm6, xmm2
jbe 0x100332b7
cmp dword [ecx + 0x1c0], 0
movss xmm0, dword [ecx + 0x21c]
movss xmm1, dword [ecx + 0x220]
je 0x100332b7
movss xmm0, dword [ecx + 0x1fc]
movss xmm2, dword [0x10045f0c]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x100332d5
movaps xmm7, xmm4
movss dword [ebp - 0x110], xmm7
jmp 0x100332fe
comiss xmm6, xmm7
jbe 0x100332fe
subss xmm0, dword [ecx + 0xc8]
addss xmm7, xmm0
comiss xmm2, xmm7
movss dword [ebp - 0x110], xmm7
jb 0x100332fe
movaps xmm7, xmm2
movss dword [ebp - 0x110], xmm2
movss xmm0, dword [ebp - 0x120]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10033314
movaps xmm0, xmm3
jmp 0x10033335
comiss xmm6, xmm0
jbe 0x1003333d
subss xmm1, dword [ecx + 0xcc]
addss xmm0, xmm1
comiss xmm2, xmm0
movss dword [ebp - 0x120], xmm0
jb 0x1003333d
movaps xmm0, xmm2
movss dword [ebp - 0x120], xmm0
movss xmm1, dword [ebp - 0x154]
comiss xmm1, xmm6
mov esi, dword [ebp - 0xc0]
jbe 0x1003335d
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x1560]
jmp 0x10033360
xorps xmm2, xmm2
cmp byte [ebp - 0xd4], 0
movaps xmm1, xmm7
movss xmm4, dword [ebx + 0xcc]
movss xmm3, dword [ebx + 0xc8]
addss xmm0, xmm4
addss xmm1, xmm3
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm7
addss xmm0, xmm2
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [ebp - 0x120]
addss xmm1, xmm4
mov dword [ebp - 0x100], ebx
addss xmm0, xmm3
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm0
je 0x100334a6
mov ebx, dword [ebp - 0xcc]
lea eax, [ebp - 0x4c]
push eax
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.1000fd40
add esp, 4
test al, al
jne 0x10033437
movss xmm0, dword [ebp - 0xc]
lea ecx, [ebp - 0x118]
subss xmm0, dword [ebp - 0x14]
movss xmm1, dword [esi + 0x154c]
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x114], xmm0
call fcn.1000fbc0
call fcn.10018b70
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f23d
mov esp, ebp
pop ebp
ret
movss xmm0, dword [ebp - 0x44]
lea edx, [ebp - 0x118]
subss xmm0, dword [ebp - 0x4c]
push ecx
mov ecx, ebx
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x114], xmm0
call fcn.10012b90
add esp, 4
test al, al
jne 0x10033477
call fcn.100129e0
jmp 0x1003341f
mov edi, dword [esi + 0x19b0]
movss xmm0, dword [ebp - 0x110]
mov dword [ebp - 0x100], edi
subss xmm0, dword [edi + 0x70]
mov eax, dword [edi + 0x134]
or dword [edi + 0x13c], eax
movss dword [ebp - 0x110], xmm0
jmp 0x100334eb
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x118]
movss dword [ebp - 0x114], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x118], xmm0
call fcn.1000fbc0
mov ebx, dword [ebp - 0xcc]
lea eax, [ebp - 0x4c]
push eax
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.1000fd40
add esp, 4
test al, al
je 0x10033424
mov edx, ebx
lea ecx, [ebp - 0x4c]
call fcn.1000ff00
mov byte [ebp - 0xb2], al
test al, al
je 0x10033509
mov dword [esi + 0x1d30], 1
mov eax, dword [ebp - 0xcc]
lea edi, [esi + 0x1e00]
mov esi, dword [ebp - 0x10c]
xor ecx, ecx
cmp dword [edi], eax
mov ebx, edi
mov edx, eax
cmovne ebx, ecx
mov ecx, esi
mov dword [ebp - 0x13c], ebx
call fcn.10010160
mov edx, dword [ebp - 0xc0]
mov byte [ebp - 0xe6], al
test al, al
je 0x100335b9
cmp dword [edx + 0x1bdc], esi
jne 0x100335b9
mov ecx, dword [edx + 0x1be4]
cmp ecx, dword [esi + 0x164]
jne 0x100335b9
mov byte [ebp - 0xb1], 1
mov byte [ebp - 0xc6], 0
cmp byte [ebp - 0xb2], 0
je 0x10033580
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0xad], 1
jne 0x10033587
mov byte [ebp - 0xad], 0
mov esi, dword [edx + 0x19e4]
mov eax, dword [ebp - 0xcc]
cmp esi, eax
je 0x100335d4
cmp dword [edx + 0x1ae4], eax
je 0x100335b0
cmp dword [edx + 0x1ad8], eax
jne 0x100335d4
cmp dword [edx + 0x1af8], 3
jne 0x100335d4
mov byte [ebp - 0xb0], 1
jmp 0x100335db
mov byte [ebp - 0xb1], 0
test al, al
je 0x10033560
mov byte [ebp - 0xc6], 1
mov byte [ebp - 0xb1], 0
jmp 0x10033567
mov byte [ebp - 0xb0], 0
mov eax, dword [ebp - 0xd4]
test al, al
je 0x1003362f
test ebx, ebx
je 0x1003362f
test esi, esi
jne 0x1003362f
mov eax, dword [ebp - 0x100]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000cbb0
mov ecx, dword [ebp - 0xc0]
add esp, 4
cmp dword [ecx + 0x1a18], eax
jne 0x10033629
mov byte [ebp - 0xaf], 1
jmp 0x10033645
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 0xaf], 0
test al, al
je 0x10033672
mov byte [ebp - 0xaf], 0
test ebx, ebx
je 0x10033672
mov eax, dword [ebp - 0x100]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000cbb0
add esp, 4
cmp esi, eax
jne 0x10033672
mov al, 1
jmp 0x10033674
xor al, al
mov edx, dword [ebp - 0xcc]
mov cl, byte [ebp - 0xb0]
mov byte [ebp - 0xb4], al
mov byte [ebp - 0xd9], 0
cmp esi, edx
je 0x100336ab
test byte [ebp + 0x14], 0x10
jne 0x1003369b
test cl, cl
je 0x100336ab
cmp byte [ebp - 0xd4], 0
mov byte [ebp - 0xd8], 1
je 0x100336b2
mov byte [ebp - 0xd8], 0
cmp byte [ebp - 0xe6], 0
jne 0x10033800
cmp byte [ebp - 0xad], 0
jne 0x10033800
cmp byte [ebp - 0xaf], 0
jne 0x10033800
test cl, cl
jne 0x10033800
mov byte [ebp - 0xaf], cl
test al, al
jne 0x10033807
mov byte [ebp - 0xc5], al
mov edi, edx
mov esi, dword [ebp - 0xc0]
cmp dword [esi + 0x19e4], edi
je 0x100337b6
cmp byte [ebp - 0xaf], 0
je 0x100337aa
mov edx, dword [ebp - 0x10c]
mov ecx, edi
call fcn.1000f9a0
call fcn.1000fa80
mov ecx, edx
call fcn.100182e0
mov eax, dword [esi + 0x19f8]
mov edx, dword [ebp + 0x14]
or eax, 3
cmp byte [ebp - 0xd4], 0
mov dword [esi + 0x19f8], eax
jne 0x1003374e
test dl, dl
jns 0x10033757
or eax, 0xc
mov dword [esi + 0x19f8], eax
mov eax, dword [esi + 0x1a00]
or dword [esi + 0x19fc], 2
or eax, 0x180
cmp byte [ebp - 0xd4], 0
mov ecx, dword [esi + 0x1a04]
mov dword [esi + 0x1a00], eax
mov dword [esi + 0x1a04], ecx
je 0x10033793
or eax, 0x60
mov dword [esi + 0x1a04], ecx
mov dword [esi + 0x1a00], eax
test edx, 0x440
je 0x100337aa
or eax, 1
mov dword [esi + 0x1a04], ecx
mov dword [esi + 0x1a00], eax
cmp dword [esi + 0x19e4], edi
jne 0x10033a1b
test ebx, ebx
jne 0x100337bf
call fcn.1000fb40
cmp dword [esi + 0x19e4], edi
jne 0x10033a1b
cmp byte [esi + 0x3d8], 0
je 0x10033a28
cmp byte [ebp - 0xc5], 0
jne 0x10033a28
cmp byte [ebp - 0xaf], 0
jne 0x10033a28
mov byte [ebp - 0xd9], 1
mov cl, 1
jmp 0x10033a2e
mov byte [ebp - 0xaf], 1
mov byte [ebp - 0xc5], 1
mov dword [ebp - 0x13c], ebx
cmp esi, edx
je 0x100336f5
mov ecx, dword [ebp - 0xc4]
mov ebx, edi
mov dword [ebp - 0x13c], ebx
mov dword [ebx + 0xe60], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033837
mov edi, dword [ebx + 0x28]
lea eax, [ebx + 0x24]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, edi
jle 0x10033876
test edi, edi
je 0x1003385e
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10033863
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [ebx + 0x24]
push eax
call fcn.1001e010
lea eax, [ebx + 0x24]
push esi
push dword [ebp - 0xc4]
mov dword [eax], esi
push dword [ebx + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov esi, dword [eax + 4]
inc edi
add esp, 0xc
mov dword [ebp - 0xd0], 0
cmp edi, esi
jle 0x100338cb
test esi, esi
je 0x100338b3
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x100338b8
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0xc]
push eax
call fcn.1001e080
lea eax, [ebx + 0xc]
mov dword [eax], edi
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jns 0x100338ed
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x18]
call fcn.1001e010
mov esi, dword [ebp - 0xc4]
lea eax, [ebp - 0xd0]
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov dword [ebx + 0x18], 0
mov ecx, dword [ebx + 0x14]
push esi
mov byte [ebx + 0x30], 0
call fcn.1000d000
mov ecx, dword [ebp - 0xd0]
add esp, 0xc
mov edi, dword [ebp - 0xcc]
sub ecx, esi
mov edx, eax
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
cmp dword [ebx], edi
jne 0x10033953
cmp dword [ebx + 0x3c], edx
mov ecx, edx
cmovl ecx, dword [ebx + 0x3c]
cmp dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [ebx + 0x40]
cmp dword [ebx + 0x44], edx
mov dword [ebx + 0x40], ecx
cmovl edx, dword [ebx + 0x44]
mov dword [ebx + 0x44], edx
jmp 0x100339cc
mov ecx, dword [ebp - 0xd4]
mov al, cl
xor al, 1
mov dword [ebx], edi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0xe52], 0x630000
mov dword [ebx + 0xe58], 0
mov dword [ebx + 0xe5c], 0x3e7
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0x10000
mov dword [ebx + 0x50], 0
mov byte [ebx + 0x4c], al
test cl, cl
jne 0x100339d2
mov ecx, dword [ebp - 0xd8]
mov eax, 1
cmp byte [ebp - 0xb1], 0
movzx ecx, cl
cmovne ecx, eax
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp + 0x14]
test edx, 0x2000
je 0x100339e1
mov byte [ebx + 0x48], 1
test cl, cl
jne 0x100336f7
cmp byte [ebp - 0xc6], cl
jne 0x10033a0f
cmp byte [ebp - 0xad], cl
je 0x100336f7
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x100], cl
je 0x100336f7
mov byte [ebp - 0xd8], 1
jmp 0x100336f7
test ebx, ebx
je 0x10033a2c
cmp byte [ebp - 0xb4], 0
je 0x10033a2c
mov cl, 1
jmp 0x10033a2e
xor cl, cl
mov byte [ebp - 0xb1], cl
test ebx, ebx
je 0x10033a4b
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10033a4b
test cl, cl
je 0x10033a4b
mov edx, 1
jmp 0x10033a4d
xor dl, dl
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x124], edx
mov byte [ebp - 0xe5], dl
mov byte [ebp - 0xe6], 0
mov byte [ebp - 0xc6], 0
test al, al
je 0x10033b49
test ebx, ebx
je 0x10033b49
test cl, cl
jne 0x10033a89
test dl, dl
je 0x10033b51
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 0xc]
mov esi, dword [eax + 4]
inc edi
mov dword [ebp - 0xd0], 0
cmp edi, esi
jle 0x10033aca
test esi, esi
je 0x10033ab2
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10033ab7
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0xc]
push eax
call fcn.1001e080
lea eax, [ebx + 0xc]
mov dword [eax], edi
mov edx, edi
lea eax, [ebp - 0xd0]
push eax
push ecx
push dword [ebp - 0xc4]
mov ecx, dword [ebx + 0x14]
call fcn.1000d000
mov ecx, dword [ebp - 0xd0]
mov esi, eax
sub ecx, dword [ebp - 0xc4]
add esp, 0xc
cmp dword [ebx + 0x3c], esi
mov edx, esi
movzx eax, byte [ebp - 0xe5]
cmovl edx, dword [ebx + 0x3c]
cmp dword [ebx + 0x40], esi
mov edi, dword [ebp - 0xcc]
mov dword [ebx + 8], ecx
mov ecx, esi
cmovl ecx, dword [ebx + 0x40]
cmp dword [ebx + 0x44], esi
mov dword [ebx + 4], esi
cmovl esi, dword [ebx + 0x44]
mov dword [ebx + 0x3c], edx
xor edx, edx
cmp ecx, esi
mov dword [ebx + 0x40], ecx
mov cl, byte [ebp - 0xb1]
cmovne edx, eax
mov dword [ebx + 0x44], esi
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x124], edx
test cl, cl
jne 0x10033b59
test dl, dl
jne 0x10033b59
cmp dword [esi + 0x19e4], edi
jne 0x10033b6a
test al, al
jne 0x10033b6a
test ebx, ebx
je 0x10033b6a
cmp byte [ebx + 0x30], al
je 0x10033b6a
mov al, 1
jmp 0x10033b6c
xor al, al
mov edx, dword [ebp - 0xf0]
mov byte [ebp - 0xe5], al
test edx, edx
je 0x10033b94
test al, al
je 0x10033b85
mov eax, dword [ebx + 0x20]
jmp 0x10033b8b
mov eax, dword [ebp - 0xc4]
cmp byte [eax], 0
jne 0x10033b94
mov al, 1
jmp 0x10033b96
xor al, al
cmp byte [ebp - 0x14c], 0
mov byte [ebp - 0xaf], al
je 0x10033c4b
test al, al
jne 0x10033c4b
mov esi, dword [esi + 0x18c0]
cmp dword [esi + 0x14], 0x2a
jg 0x10033bc2
mov edi, dword [esi + 0x2c]
jmp 0x10033be1
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10033bd8
mov edi, dword [esi + 0x2c]
jmp 0x10033be1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
add edx, 0x2c74
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18c0]
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 + 0x18c0]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x50]
mov dword [edx + 0x50], eax
mov eax, dword [esi + 0x18c0]
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.10018500
mov edi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xcc]
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [0x10045e9c]
mov dword [ebp - 0x11c], 0
movss dword [ebp - 0x148], xmm1
cmp dword [edi + 0x19e4], eax
jne 0x10034083
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0xe68], edx
mov dword [ebx + 0xe6c], 0
mov dword [ebx + 0xe70], 0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x34], eax
cmp byte [edi + 0xf0], 0
mov dword [edi + 0x2f7c], 1
sete al
cmp byte [ebp - 0xd4], 0
mov byte [edi + 0x19f1], al
movss xmm7, dword [edi + 0xe8]
subss xmm7, xmm1
subss xmm7, dword [edi + 0x1548]
addss xmm7, dword [ebx + 0x38]
je 0x10033d0a
mov eax, dword [ebp - 0x100]
movss xmm2, dword [edi + 0xec]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [edi + 0x154c]
jmp 0x10033d16
movss xmm2, dword [edi + 0x18c4]
mulss xmm2, xmm0
cmp byte [ebp - 0xd8], 0
mov al, byte [edi + 0xb1]
mov byte [ebp - 0xad], al
jne 0x10033e92
mov cl, byte [ebp - 0xb2]
test cl, cl
je 0x10033d49
test al, al
jne 0x10033dae
cmp byte [edi + 0x3dd], al
jne 0x10033e92
cmp byte [edi + 0x3d8], 0
je 0x10033e05
cmp byte [ebx + 0xe65], 0
jne 0x10033e05
test cl, cl
je 0x10033eb3
cmp byte [ebx + 0x4c], 0
je 0x10033d85
push 0
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.100315f0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, ebx
call fcn.10031920
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x4b], 0
mov dword [ebx + 0xe60], 0xbe99999a
jmp 0x10033ead
cmp byte [edi + 0x3dd], 0
je 0x10033d49
push 0x20000c
lea edx, [ebx + 0x3c]
mov ecx, ebx
call fcn.10031d50
add esp, 4
mov byte [ebx + 0xe64], 1
lea edx, [ebx + 0x3c]
mov dword [ebx + 0xe60], 0xbe99999a
mov ecx, ebx
push 0x60000d
call fcn.10031d50
mov edx, dword [ebp + 0x14]
add esp, 4
mov byte [ebx + 0xe64], 1
mov dword [ebx + 0xe60], 0xbe99999a
jmp 0x10033ead
cmp byte [edi + 0xf0], 0
je 0x10033eb3
cmp byte [ebx + 0xe65], 0
jne 0x10033ebc
movss xmm0, dword [edi + 0x378]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10033e44
movss xmm0, dword [edi + 0x37c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10033eb3
cmp byte [ebx + 0x4c], 0
je 0x10033e5e
push 0
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.100315f0
movss xmm2, dword [ebp - 0x20]
add esp, 4
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10033e6c
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
movaps xmm1, xmm7
mov ecx, ebx
call fcn.10031920
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0xe60], 0xbe99999a
mov byte [ebx + 0xe64], 1
jmp 0x10033ead
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x4b], 0
mov byte [ebx + 0xe65], 1
mov al, byte [ebp - 0xad]
cmp byte [ebx + 0xe65], 0
je 0x10033ecc
cmp byte [edi + 0xf0], 0
jne 0x10033ecc
mov byte [ebx + 0xe65], 0
cmp byte [edi + 0x100], 0
je 0x10033ede
cmp byte [edi + 0x102], 0
je 0x10033eeb
test al, al
je 0x10033ef4
cmp byte [edi + 0x103], 0
je 0x10033ef4
mov byte [ebp - 0xad], 1
jmp 0x10033efb
mov byte [ebp - 0xad], 0
test edx, 0x400
je 0x10033fb6
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10033fb6
call fcn.100126e0
mov ecx, dword [ebp - 0xe0]
test al, al
mov al, byte [ebp - 0xad]
je 0x10033fc2
test al, al
jne 0x10033fc2
cmp byte [edi + 0x101], al
jne 0x10033fc2
test cl, cl
jne 0x10033fc2
mov ecx, dword [edi + 0x1508]
mov eax, dword [edi + 0x1500]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10033f70
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x10033fb6
cmp ecx, edx
jb 0x10033f60
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xd0]
sub esp, 8
mov dword [ebp - 0xd0], 9
call fcn.10032e90
add esp, 8
test al, al
je 0x10033fb6
push dword [ebp - 0xd0]
lea edx, [ebx + 0x3c]
mov ecx, ebx
call fcn.10031d50
add esp, 4
mov byte [ebx + 0xe64], 1
mov dword [ebx + 0xe60], 0xbe99999a
mov ecx, dword [ebp - 0xe0]
mov al, byte [ebp - 0xad]
cmp dword [edi + 0x1500], 0
jle 0x10034083
test al, al
jne 0x10034053
test cl, cl
jne 0x10034053
cmp byte [ebp - 0xb0], cl
jne 0x10034053
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x1508]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xd0], eax
cmp eax, 9
jne 0x1003400e
cmp byte [edi + 0x101], 0
jne 0x1003404a
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xd0]
sub esp, 8
call fcn.10032e90
add esp, 8
test al, al
je 0x1003404a
push dword [ebp - 0xd0]
lea edx, [ebx + 0x3c]
mov ecx, ebx
call fcn.10031d50
add esp, 4
mov byte [ebx + 0xe64], 1
mov dword [ebx + 0xe60], 0xbe99999a
inc esi
cmp esi, dword [edi + 0x1500]
jl 0x10033ff0
mov ecx, dword [edi + 0x1504]
test ecx, ecx
jns 0x10034079
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1500]
call fcn.1001e080
mov dword [edi + 0x1500], 0
mov esi, dword [ebp - 0xcc]
xor cl, cl
mov byte [ebp - 0xae], cl
cmp dword [edi + 0x19e4], esi
jne 0x100351a5
cmp byte [edi + 0x19f0], cl
jne 0x10034c95
cmp byte [ebp - 0xd9], cl
jne 0x10034c95
mov cl, byte [edi + 0x101]
xor esi, esi
mov dl, byte [edi + 0xb1]
test cl, cl
mov eax, 0x400000
mov byte [ebp - 0x102], dl
cmovne esi, eax
test dl, dl
je 0x1003412a
cmp byte [edi + 0x103], 0
je 0x100340f0
cmp byte [edi + 0x100], 0
jne 0x100340f0
mov eax, 1
jmp 0x100340f2
xor eax, eax
test eax, eax
jne 0x1003413c
xor ah, ah
mov byte [ebp - 0xad], ah
test dl, dl
je 0x1003414d
cmp byte [edi + 0x103], 0
je 0x1003414d
test cl, cl
je 0x1003414d
cmp byte [edi + 0x100], 0
jne 0x1003414d
cmp byte [edi + 0x102], 0
jne 0x1003414d
mov byte [ebp - 0xb4], 1
jmp 0x1003415c
cmp byte [edi + 0x100], 0
je 0x100340f6
cmp byte [edi + 0x103], 0
jne 0x100340f6
cmp byte [edi + 0x102], 0
jne 0x100340f6
test cl, cl
jne 0x100340f6
mov ah, 1
jmp 0x100340f8
mov byte [ebp - 0xb4], 0
test dl, dl
je 0x100341e8
cmp byte [edi + 0x103], 0
mov dl, byte [edi + 0x102]
mov byte [ebp - 0xb5], dl
je 0x100341f5
cmp byte [edi + 0x100], 0
jne 0x100341f5
test dl, dl
jne 0x100341f5
mov cl, byte [edi + 0x100]
mov byte [ebp - 0xb3], 1
cmp byte [edi + 0x101], 0
mov byte [ebp - 0xb0], 0
je 0x10034270
mov byte [ebp - 0xb0], 0
test cl, cl
jne 0x10034270
mov byte [ebp - 0xb0], cl
cmp byte [edi + 0x102], cl
jne 0x10034270
mov byte [ebp - 0xb0], cl
cmp byte [edi + 0x103], cl
jne 0x10034270
mov byte [ebp - 0xb2], 1
mov byte [ebp - 0xb0], cl
jmp 0x10034277
mov dl, byte [edi + 0x100]
mov byte [ebp - 0xb4], 0
mov cl, byte [edi + 0x100]
mov al, dl
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb3], 0
test cl, cl
je 0x1003418f
cmp byte [edi + 0x101], 0
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb3], 0
jne 0x1003418f
cmp byte [edi + 0x102], 0
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb3], 0
jne 0x1003418f
cmp byte [edi + 0x103], 0
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb3], 0
jne 0x1003418f
mov byte [ebp - 0xb0], 1
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb3], 0
mov byte [ebp - 0xb2], 0
test ah, ah
mov eax, dword [0x1004ad74]
je 0x10034298
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x10034298
call fcn.100126e0
test al, al
jne 0x100342b1
mov eax, dword [0x1004ad74]
cmp byte [ebp - 0xb2], 0
je 0x100342dd
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x100342dd
call fcn.100126e0
test al, al
je 0x100342dd
cmp byte [ebp - 0xe0], 0
jne 0x100342dd
cmp byte [ebp - 0x14c], 0
jne 0x100342dd
cmp byte [ebp - 0xd4], 0
je 0x100342d4
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x100342dd
mov byte [ebp - 0xc5], 1
jmp 0x100342e4
mov byte [ebp - 0xc5], 0
cmp byte [ebp - 0xad], 0
mov eax, dword [0x1004ad74]
je 0x10034307
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10034307
call fcn.100126e0
test al, al
jne 0x10034320
mov eax, dword [0x1004ad74]
cmp byte [ebp - 0xb0], 0
je 0x10034343
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10034343
call fcn.100126e0
test al, al
je 0x10034343
cmp byte [ebp - 0x14c], 0
jne 0x10034343
cmp byte [ebp - 0xd4], 0
je 0x1003433a
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10034343
mov byte [ebp - 0xb0], 1
jmp 0x1003434a
mov byte [ebp - 0xb0], 0
cmp byte [ebp - 0xad], 0
mov eax, dword [0x1004ad74]
je 0x1003436d
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1003436d
call fcn.100126e0
test al, al
jne 0x10034386
mov eax, dword [0x1004ad74]
cmp byte [ebp - 0xb2], 0
je 0x10034396
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10034396
call fcn.100126e0
test al, al
je 0x10034396
cmp byte [ebp - 0xe0], 0
mov byte [ebp - 0x101], 1
je 0x1003439d
mov byte [ebp - 0x101], 0
mov al, byte [ebp - 0xad]
test al, al
je 0x100343e1
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x88]
test ecx, ecx
js 0x100343e1
call fcn.100126e0
test al, al
je 0x100343db
cmp byte [ebp - 0xe0], 0
jne 0x100343db
cmp byte [ebp - 0x108], 0
je 0x100343db
mov byte [ebp - 0xb2], 1
jmp 0x100343ec
mov al, byte [ebp - 0xad]
mov byte [ebp - 0xb2], 0
test al, al
je 0x10034404
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10034409
call fcn.100126e0
test al, al
jne 0x10034425
mov eax, dword [0x1004ad74]
cmp byte [ebp - 0xb4], 0
je 0x1003443e
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003443e
call fcn.100126e0
test al, al
je 0x1003443e
cmp byte [ebp - 0xe0], 0
jne 0x1003443e
cmp byte [ebp - 0x108], 0
mov byte [ebp - 0xb4], 1
jne 0x10034445
mov byte [ebp - 0xb4], 0
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x100344a5
call fcn.100126e0
test al, al
je 0x100344a0
cmp byte [ebp - 0xb3], 0
je 0x1003447a
mov eax, 0x200004
lea edx, [ebx + 0x3c]
or eax, esi
mov ecx, ebx
push eax
call fcn.10031d50
jmp 0x10034c4a
cmp byte [ebp - 0xb5], 0
lea edx, [ebx + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, ebx
or eax, esi
push eax
call fcn.10031d50
jmp 0x10034c4a
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x10034500
call fcn.100126e0
test al, al
je 0x100344fb
cmp byte [ebp - 0xb3], 0
je 0x100344d5
mov eax, 0x200005
lea edx, [ebx + 0x3c]
or eax, esi
mov ecx, ebx
push eax
call fcn.10031d50
jmp 0x10034c4a
cmp byte [ebp - 0xb5], 0
lea edx, [ebx + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, ebx
or eax, esi
push eax
call fcn.10031d50
jmp 0x10034c4a
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1003456e
call fcn.100126e0
test al, al
je 0x1003456e
cmp byte [ebp - 0xd4], 0
je 0x1003456e
cmp byte [edi + 0x100], 0
je 0x1003454e
mov edx, dword [ebp - 0x100]
movss xmm0, dword [edx + 0x54]
subss xmm0, dword [edi + 0x18c4]
mov dword [edx + 0x6c], 0
maxss xmm0, dword [0x10045e58]
movss dword [edx + 0x64], xmm0
jmp 0x10034c5e
movzx eax, byte [ebp - 0xb3]
lea edx, [ebx + 0x3c]
mov ecx, ebx
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x100345ea
call fcn.100126e0
test al, al
je 0x100345ea
cmp byte [ebp - 0xd4], 0
je 0x100345ea
cmp byte [edi + 0x100], 0
je 0x100345ca
mov ecx, dword [ebp - 0x100]
movss xmm0, dword [edi + 0x18c4]
mov eax, dword [0x1004ad74]
addss xmm0, dword [ecx + 0x54]
mov eax, dword [eax + 0x19b0]
minss xmm0, dword [eax + 0x5c]
mov dword [ecx + 0x6c], 0
movss dword [ecx + 0x64], xmm0
jmp 0x10034c5e
movzx eax, byte [ebp - 0xb3]
lea edx, [ebx + 0x3c]
mov ecx, ebx
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
js 0x10034627
call fcn.100126e0
test al, al
je 0x10034627
mov eax, esi
lea edx, [ebx + 0x3c]
or eax, 0x200006
or esi, 0x200004
cmp byte [edi + 0x100], 0
mov ecx, ebx
cmovne esi, eax
push esi
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x54]
test ecx, ecx
js 0x10034664
call fcn.100126e0
test al, al
je 0x10034664
mov eax, esi
lea edx, [ebx + 0x3c]
or eax, 0x200007
or esi, 0x200005
cmp byte [edi + 0x100], 0
mov ecx, ebx
cmovne esi, eax
push esi
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
js 0x10034699
call fcn.100126e0
test al, al
je 0x10034699
cmp byte [ebp - 0xe0], 0
jne 0x10034699
or esi, 0x200008
lea edx, [ebx + 0x3c]
push esi
mov ecx, ebx
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [0x1004ad74]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
js 0x10034739
call fcn.100126e0
test al, al
je 0x10034739
cmp byte [ebp - 0xe0], 0
jne 0x10034739
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10034723
cmp byte [ebp - 0xb5], 0
je 0x100346dc
push 0x60000c
jmp 0x10034705
cmp byte [ebp - 0x102], 0
je 0x10034723
cmp byte [edi + 0x103], 0
je 0x10034723
cmp byte [edi + 0x102], 0
jne 0x10034723
cmp byte [edi + 0x100], 0
jne 0x10034723
push 0x600004
lea edx, [ebx + 0x3c]
mov ecx, ebx
call fcn.10031d50
mov dword [ebx + 0xe60], 0xbe99999a
add esp, 4
mov byte [ebx + 0xe64], 1
or esi, 0x200009
lea edx, [ebx + 0x3c]
push esi
mov ecx, ebx
call fcn.10031d50
jmp 0x10034c4a
mov esi, dword [0x1004ad74]
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x1003474f
call fcn.100126e0
test al, al
jne 0x10034767
mov ecx, dword [esi + 0x70]
test ecx, ecx
js 0x100347e4
call fcn.100126e0
test al, al
je 0x100347e4
mov edx, dword [ebp + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xd4], 0
je 0x10034788
mov cl, byte [edi + 0x100]
test al, al
je 0x1003479b
test cl, cl
jne 0x1003479f
mov byte [ebp - 0xd9], 1
mov byte [ebp - 0xc6], 1
jmp 0x10034c5e
test cl, cl
jne 0x10034788
cmp byte [ebp - 0xe0], 0
jne 0x10034c5e
sub esp, 8
mov dword [ebp - 0xd0], 0xa
lea ecx, [ebp - 0xd0]
call fcn.10032e90
add esp, 8
test al, al
je 0x10034c5e
push dword [ebp - 0xd0]
lea edx, [ebx + 0x3c]
mov ecx, ebx
call fcn.10031d50
jmp 0x10034c4a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10034801
call fcn.100126e0
test al, al
je 0x10034801
mov cl, 1
mov byte [ebp - 0xd9], cl
jmp 0x10034c64
mov al, byte [ebp - 0xb2]
test al, al
jne 0x10034c2b
cmp byte [ebp - 0xb4], al
jne 0x10034c2b
cmp byte [ebp - 0xad], al
je 0x1003484c
mov ecx, dword [esi + 0x74]
test ecx, ecx
js 0x1003484c
call fcn.100126e0
test al, al
je 0x1003484c
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x4b], 0
jmp 0x10034c57
mov al, byte [ebp - 0xc5]
test al, al
jne 0x10034acf
cmp byte [ebp - 0xb0], al
jne 0x10034acf
cmp byte [ebp - 0x101], al
je 0x10034c5e
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x10034892
push dword [esi + 0xd8]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x10034897
jmp 0x10034c5e
mov esi, 0x10041408
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100348a0
mov eax, dword [0x1004ad74]
sub ecx, edx
test eax, eax
je 0x100348b8
inc dword [eax + 0x374]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ecx, eax
xor edi, edi
mov dword [ebp - 0xe4], ecx
cmp byte [esi], 0
je 0x10034932
mov ebx, eax
nop word [eax + eax]
push 0
mov edx, esi
lea ecx, [ebp - 0xf8]
call fcn.1000ce70
add esp, 4
add esi, eax
cmp dword [ebp - 0xf8], 0
je 0x10034926
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xf8]
sub esp, 8
call fcn.10032e90
add esp, 8
test al, al
je 0x10034921
mov ax, word [ebp - 0xf8]
mov word [ebx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100348e0
mov ebx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xe4]
xor eax, eax
mov word [ecx + edi*2], ax
test edi, edi
jle 0x10034aad
mov ecx, dword [ebx + 0x44]
lea esi, [ebx + 0x3c]
mov eax, dword [esi + 4]
mov edx, dword [ebx + 4]
mov dword [ebp - 0xd0], edx
cmp eax, ecx
je 0x100349a4
mov dword [ebp - 0xbc], eax
cmp eax, edx
jle 0x10034969
mov dword [esi + 4], edx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], ecx
cmp ecx, edx
jle 0x10034986
mov ecx, edx
mov dword [esi + 8], edx
mov dword [ebp - 0xec], ecx
jmp 0x1003498c
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xec]
cmp dword [ebp - 0xbc], edx
jne 0x100349a4
mov eax, dword [ebp - 0xbc]
mov ecx, edx
mov dword [esi], eax
mov edx, dword [esi]
mov dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0xd0]
cmp dword [esi], edx
jle 0x100349be
mov dword [esi], edx
mov dword [ebp - 0xd8], edx
mov edx, dword [ebx + 4]
cmp eax, ecx
je 0x10034a1e
mov dword [ebp - 0xbc], eax
cmp eax, edx
jle 0x100349d8
mov dword [esi + 4], edx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], ecx
cmp ecx, edx
jle 0x100349f1
mov dword [esi + 8], edx
mov dword [ebp - 0xec], edx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xec]
mov esi, ecx
cmp dword [ebp - 0xbc], esi
lea esi, [ebx + 0x3c]
jne 0x10034a1e
mov eax, dword [ebp - 0xbc]
mov dword [esi], eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], edx
jle 0x10034a28
mov dword [esi], edx
cmp eax, ecx
je 0x10034a5d
mov edx, esi
jge 0x10034a43
sub ecx, eax
push ecx
push eax
mov ecx, ebx
call fcn.10031c10
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x10034a54
sub eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.10031c10
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0xf], 0
mov edx, dword [esi]
mov ecx, ebx
push edi
push dword [ebp - 0xe4]
call fcn.100317d0
add esp, 8
test al, al
je 0x10034a8c
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push edi
push 0
call fcn.10032b60
add esp, 8
mov byte [esi + 0xf], 0
add dword [esi], edi
jmp 0x10034aa0
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x10034aa0
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [ebp - 0xe4]
mov byte [ebx + 0xe64], 1
test ecx, ecx
je 0x10034ac0
mov eax, dword [0x1004ad74]
test eax, eax
je 0x10034ac0
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10034c5e
cmp dword [edi + 0xd4], 0
je 0x10034b8b
mov edi, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
cmp eax, edi
je 0x10034af0
mov ecx, edi
cmovge edi, eax
cmovl ecx, eax
jmp 0x10034af5
mov edi, dword [ebx + 4]
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xd0], ecx
lea edx, [eax + edi*2]
lea ecx, [eax + ecx*2]
call fcn.1000d1a0
inc eax
mov dword [ebp - 0xf4], eax
test esi, esi
je 0x10034b1a
inc dword [esi + 0x374]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [ebx + 0x14]
add esp, 4
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x10c], eax
lea ecx, [esi + edi*2]
push ecx
mov ecx, dword [ebp - 0xd0]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.1000d070
mov eax, dword [0x1004ad74]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x10034b6d
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x1004ad74]
add esp, 8
test esi, esi
je 0x10034b7b
test eax, eax
je 0x10034b7b
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0xc5]
add esp, 4
test al, al
je 0x10034c5e
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10034baf
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x4b], 0
mov byte [ebx + 0xe64], 1
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
cmp eax, ecx
je 0x10034c5e
mov edx, dword [ebx + 4]
cmp eax, edx
jle 0x10034bd0
mov dword [ebx + 0x40], edx
mov eax, edx
cmp ecx, edx
jle 0x10034bd9
mov dword [ebx + 0x44], edx
mov ecx, edx
cmp eax, ecx
jne 0x10034be0
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x3c], edx
jle 0x10034be8
mov dword [ebx + 0x3c], edx
cmp eax, ecx
je 0x10034c25
lea edx, [ebx + 0x3c]
jge 0x10034c0e
sub ecx, eax
push ecx
push eax
mov ecx, ebx
call fcn.10031c10
mov eax, dword [ebx + 0x40]
add esp, 8
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x4b], 0
jmp 0x10034c5e
sub eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.10031c10
mov eax, dword [ebx + 0x44]
add esp, 8
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x4b], 0
jmp 0x10034c5e
movzx eax, al
lea edx, [ebx + 0x3c]
xor eax, 1
mov ecx, ebx
add eax, 0x20000a
push eax
call fcn.10031d50
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
add esp, 4
mov dword [ebx + 0xe60], 0xbe99999a
mov byte [ebx + 0xe64], 1
mov cl, byte [ebp - 0xae]
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10034c79
cmp byte [ebp - 0xb1], 0
je 0x10034c79
mov al, 1
jmp 0x10034c7b
xor al, al
mov edx, dword [ebp - 0x124]
mov edi, dword [ebp - 0xc0]
or dl, al
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x124], edx
cmp dword [edi + 0x19e4], esi
jne 0x100351a5
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xd8], eax
test cl, cl
je 0x10034d23
cmp byte [ebp - 0xe0], al
jne 0x10034d09
mov esi, dword [ebx + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xc4]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10034cf0
test dl, dl
je 0x10034cec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10034cf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10034cd0
xor eax, eax
jmp 0x10034cf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10034d09
mov eax, dword [ebx + 0x24]
dec eax
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xd8], eax
cmp byte [ebp - 0xc6], 0
mov eax, dword [ebp + 0x14]
je 0x1003508d
test al, 0x20
je 0x1003508d
jmp 0x10034d26
mov eax, dword [ebp + 0x14]
cmp byte [ebp - 0xe0], 0
jne 0x10034d87
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x30], 1
mov edi, dword [ebx + 0x1c]
lea esi, [eax*4 + 1]
lea eax, [ebx + 0x18]
cmp esi, edi
jle 0x10034d70
test edi, edi
je 0x10034d58
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10034d5d
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [ebx + 0x18]
push eax
call fcn.1001e010
lea eax, [ebx + 0x18]
mov dword [eax], esi
mov edx, esi
mov ecx, dword [ebx + 0x20]
push 0
push dword [ebx + 0x14]
call fcn.1000d070
mov eax, dword [ebp + 0x14]
add esp, 8
test eax, 0x1c0
je 0x10035039
xor esi, esi
test al, 0x40
mov eax, dword [0x1004ad74]
lea edi, [esi + 0x16]
je 0x10034dbf
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10034dbf
call fcn.100126e0
test al, al
je 0x10034dba
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x2a]
xor edi, edi
jmp 0x10034e14
mov eax, dword [0x1004ad74]
test byte [ebp + 0x14], 0x80
je 0x10034e04
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10034de7
call fcn.100126e0
test al, al
je 0x10034de2
mov eax, dword [ebp + 0x14]
mov esi, 0x80
lea edi, [esi - 0x7d]
jmp 0x10034e14
mov eax, dword [0x1004ad74]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10034e04
call fcn.100126e0
test al, al
je 0x10034e04
mov eax, dword [ebp + 0x14]
mov esi, 0x80
lea edi, [esi - 0x7c]
jmp 0x10034e14
mov eax, dword [ebp + 0x14]
mov ecx, 0x100
test eax, 0x100
cmovne esi, ecx
test esi, esi
je 0x10035039
mov dword [ebp - 0x78], eax
xor ecx, ecx
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x7c], esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x3c]
mov word [ebp - 0x5b], cx
mov byte [ebp - 0x59], cl
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x5c], cl
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], edi
call fcn.1000d1a0
mov ecx, dword [ebx + 0x40]
mov edi, eax
mov dword [ebp - 0x58], edi
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1000d1a0
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x54], eax
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1000d1a0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x7c]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x58]
add esp, 4
cmp ecx, edi
je 0x10034efa
mov eax, dword [ebp - 0x68]
mov esi, eax
lea edi, [ecx + eax]
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x10034eb8
cmp esi, edi
jae 0x10034ef0
cmp byte [esi], 0
je 0x10034ef0
push edi
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000ce70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x10034eea
cmp eax, 0xffff
mov eax, dword [ebp - 0xbc]
ja 0x10034eb0
inc eax
jmp 0x10034eaa
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0xe64], 1
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xd0]
je 0x10034f58
mov ecx, dword [ebp - 0x68]
mov esi, ecx
lea edi, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x10034f1d
cmp esi, edi
jae 0x10034f55
cmp byte [esi], 0
je 0x10034f55
push edi
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000ce70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x10034f4f
cmp eax, 0xffff
mov eax, dword [ebp - 0xbc]
ja 0x10034f15
inc eax
jmp 0x10034f0f
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10c]
je 0x10034fb6
mov ecx, dword [ebp - 0x68]
mov esi, ecx
lea edi, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x10034f7b
cmp esi, edi
jae 0x10034fb3
cmp byte [esi], 0
je 0x10034fb3
push edi
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000ce70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x10034fad
cmp eax, 0xffff
mov eax, dword [ebp - 0xbc]
ja 0x10034f73
inc eax
jmp 0x10034f6d
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x44], eax
cmp byte [ebp - 0x5c], 0
je 0x10035036
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x11c]
cmp esi, ecx
jle 0x1003500f
cmp byte [ebp - 0x140], 0
je 0x1003500f
mov edi, dword [ebx + 0x10]
lea eax, [ebx + 0xc]
sub esi, ecx
add esi, dword [eax]
cmp esi, edi
jle 0x1003500d
test edi, edi
je 0x10034ff5
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10034ffa
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [ebx + 0xc]
push eax
call fcn.1001e080
lea eax, [ebx + 0xc]
mov dword [eax], esi
mov edx, dword [ebx + 0xc]
push 0
push ecx
push dword [ebp - 0x68]
mov ecx, dword [ebx + 0x14]
call fcn.1000d000
mov dword [ebx + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x64]
mov dword [ebx + 8], eax
mov dword [ebx + 0xe60], 0xbe99999a
mov eax, dword [ebp + 0x14]
cmp byte [ebp - 0xe0], 0
jne 0x10035087
mov esi, dword [ebx + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xc4]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10035070
test dl, dl
je 0x1003506c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10035070
add eax, 2
add ecx, 2
test dl, dl
jne 0x10035050
xor eax, eax
jmp 0x10035075
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0xc0]
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x1003508d
mov ecx, dword [ebx + 8]
jmp 0x10035099
mov edi, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd8]
test esi, esi
je 0x10035181
cmp dword [ebp - 0x11c], ecx
je 0x10035143
cmp byte [ebp - 0x140], 0
je 0x10035143
mov dword [ebp - 0xa8], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
lea eax, [ecx + 1]
cmp dword [ebp + 0xc], eax
movlpd qword [ebp - 0xa0], xmm0
cmovge eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xac]
push eax
xor eax, eax
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0xac], 0x40000
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa4], 0
call eax
mov edx, dword [ebp - 0x90]
add esp, 4
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x94], ecx
cmovl ecx, dword [ebp - 0x94]
jmp 0x10035146
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebp + 0xc], edx
cmp edx, 1
jb 0x1003517a
jbe 0x1003516f
lea eax, [edx - 1]
push eax
push esi
push dword [ebp - 0xc4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0xc4]
mov byte [eax + edx - 1], 0
mov byte [ebp - 0xe6], 1
mov esi, dword [ebp - 0xcc]
mov dword [ebx + 0xe68], 0
mov dword [ebx + 0xe6c], 0
mov dword [ebx + 0xe70], 0
cmp byte [ebp - 0xd9], 0
je 0x100351bb
cmp dword [edi + 0x19e4], esi
jne 0x100351bb
call fcn.1000fb40
cmp byte [ebp - 0xd4], 0
movss xmm7, dword [0x10045f48]
jne 0x1003533a
push 1
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.1000ecd0
mov eax, dword [0x1004ad74]
xorps xmm4, xmm4
movss xmm6, dword [0x10045ecc]
add esp, 4
movups xmm2, xmmword [eax + 0x1630]
comiss xmm4, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0x24], xmm2
jbe 0x10035213
xorps xmm0, xmm0
jmp 0x1003521a
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm3, dword [0x10045f48]
movss xmm5, dword [0x10045e9c]
movss xmm2, dword [ebp - 0x20]
comiss xmm4, xmm2
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x10035245
xorps xmm0, xmm0
jmp 0x1003524c
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x1c]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm4, xmm2
jbe 0x1003526c
xorps xmm0, xmm0
jmp 0x10035273
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm4, xmm1
jbe 0x1003528e
xorps xmm0, xmm0
jmp 0x10035295
movaps xmm0, xmm6
minss xmm0, xmm1
push dword [ebp - 0x40]
movss xmm2, dword [edi + 0x1550]
push dword [ebp - 0x44]
mulss xmm0, xmm3
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.1000e270
movss xmm0, dword [ebp - 0x148]
add esp, 0x10
movss xmm5, dword [ebp - 0x110]
movss xmm4, dword [ebp - 0x48]
movaps xmm2, xmm5
movss xmm1, dword [ebp - 0x120]
addss xmm2, xmm0
movss xmm7, dword [0x10045f48]
addss xmm1, xmm4
movss dword [ebp - 0x3c], xmm0
addss xmm0, dword [edi + 0x1548]
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0xf4], xmm2
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0xf8], xmm2
movss dword [ebp - 0xc], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x154c]
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 8], xmm0
jmp 0x100353a6
movss xmm0, dword [ebp - 0x148]
movss xmm1, dword [ebp - 0x48]
movss xmm5, dword [ebp - 0x110]
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x100]
movaps xmm3, xmm5
addss xmm2, dword [ebp - 0x120]
addss xmm3, xmm0
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm1
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
movss dword [ebp - 0x11c], xmm2
movaps xmm1, xmm2
movaps xmm0, xmm3
movss dword [ebp - 0xf8], xmm3
movss dword [ebp - 0xf4], xmm0
movss dword [ebp - 0x34], xmm0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp byte [ebp - 0xe5], 0
lea eax, [ebp - 0xc]
movss xmm0, dword [eax]
xorps xmm6, xmm6
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x108], xmm1
xorps xmm1, xmm1
movss dword [ebp - 0xd8], xmm0
movss dword [ebp - 0x114], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xcc], eax
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0xd0], xmm1
je 0x10035408
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xc4], eax
mov dh, byte [ebp - 0xaf]
mov dword [ebp - 0xfc], 0
test dh, dh
je 0x1003544e
mov eax, dword [ebp - 0xf0]
mov ecx, eax
mov dword [ebp - 0xc4], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035430
sub ecx, edx
mov edx, dword [ebp - 0xf0]
lea eax, [edx + ecx]
mov dh, byte [ebp - 0xaf]
mov dword [ebp - 0xfc], eax
mov al, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0x124]
test al, al
jne 0x100358ee
test cl, cl
jne 0x100358ee
cmp byte [ebp - 0xd4], cl
je 0x100354cc
mov esi, dword [ebp - 0xc4]
xor ecx, ecx
mov dl, byte [esi]
lea ebx, [esi + 1]
test dl, dl
je 0x10035495
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [ebx]
cmovne eax, ecx
inc ebx
mov ecx, eax
test dl, dl
jne 0x10035483
mov al, byte [ebx - 1]
dec ebx
mov dword [ebp - 0xfc], ebx
cmp al, 0xa
je 0x100354a8
cmp al, 0xd
je 0x100354a8
inc ecx
movd xmm1, ecx
movaps xmm0, xmm5
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x10c], xmm0
mulss xmm1, dword [edi + 0x18c4]
movss dword [ebp - 0xd0], xmm1
jmp 0x10035525
test dh, dh
jne 0x1003550a
cmp dword [edi + 0x19e4], esi
mov esi, dword [ebp - 0xc4]
jne 0x100354eb
mov ebx, dword [ebx + 8]
add ebx, esi
mov dword [ebp - 0xfc], ebx
jmp 0x10035516
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100354f0
sub ecx, edx
mov dh, byte [ebp - 0xaf]
lea ebx, [esi + ecx]
mov dword [ebp - 0xfc], ebx
jmp 0x10035516
mov ebx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xc4]
mov eax, ebx
sub eax, esi
cmp eax, 0x200000
jge 0x100357f1
mov ecx, dword [0x1004ad74]
movss xmm4, dword [0x10045ecc]
movzx eax, dh
add eax, 0xb
add eax, eax
movups xmm2, xmmword [ecx + eax*8 + 0x1510]
comiss xmm6, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x1510]
movups xmmword [ebp - 0x24], xmm2
jbe 0x10035560
movaps xmm0, xmm6
jmp 0x10035567
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [0x10045e9c]
movss xmm2, dword [ebp - 0x20]
comiss xmm6, xmm2
mulss xmm0, xmm7
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003558a
movaps xmm0, xmm6
jmp 0x10035591
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x1c]
mulss xmm0, xmm7
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x100355b1
movaps xmm0, xmm6
jmp 0x100355b8
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm1
jbe 0x100355d3
movaps xmm4, xmm6
jmp 0x100355d7
minss xmm4, xmm1
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0x3c]
mulss xmm4, xmm7
mov edi, dword [eax + 0x274]
mov eax, dword [ebp - 0xc0]
addss xmm4, xmm3
movss xmm2, dword [eax + 0x18c4]
cvttss2si esi, xmm4
shl esi, 0x18
or esi, ecx
mov ecx, dword [eax + 0x18c0]
xor eax, eax
mov dword [ebp - 0xf8], ecx
cmp byte [ebp - 0xd4], al
cmovne edx, eax
test esi, 0xff000000
je 0x1003573b
cmp dword [ebp - 0xfc], eax
jne 0x1003565a
mov ecx, dword [ebp - 0xc4]
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035640
mov eax, dword [ebp - 0xc4]
sub ecx, ebx
lea ebx, [eax + ecx]
mov ecx, dword [ebp - 0xf8]
jmp 0x10035660
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x1003573b
test ecx, ecx
jne 0x10035678
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xf8], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x10035689
mov eax, dword [edi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x48]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x138], xmm0
test edx, edx
je 0x10035701
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x138]
comiss xmm0, xmm1
jae 0x100356bb
movss dword [ebp - 0x138], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x134]
comiss xmm0, xmm1
jae 0x100356d5
movss dword [ebp - 0x134], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x130]
ja 0x100356eb
movss dword [ebp - 0x130], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x12c]
ja 0x10035701
movss dword [ebp - 0x12c], xmm0
mov eax, dword [ebp - 0xcc]
test edx, edx
push dword [eax + 4]
push dword [eax]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0x138]
mov dword [esp], 0
push ebx
push dword [ebp - 0xc4]
push eax
push esi
push edi
call fcn.1002aa80
xorps xmm6, xmm6
mov edi, dword [ebp - 0xc0]
cmp byte [ebp - 0xd4], 0
je 0x100357e5
mov ecx, dword [0x1004ad74]
movss xmm1, dword [ebp - 0xd0]
addss xmm1, dword [edi + 0x18c4]
movss xmm3, dword [ebp - 0x10c]
mov eax, dword [ecx + 0x19b0]
addss xmm3, xmm6
movss dword [ebp - 8], xmm1
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
movss dword [ebp - 0xc], xmm3
cmp byte [eax + 0x7f], 0
jne 0x100357db
movss xmm0, dword [eax + 0xcc]
lea ecx, [ebp - 0xc]
movss xmm2, dword [eax + 0xc8]
addss xmm1, xmm0
addss xmm3, xmm2
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [0x10045f84]
movss dword [ebp - 0x1c], xmm3
call fcn.1000fbc0
push 0
xor edx, edx
lea ecx, [ebp - 0x24]
call fcn.1000fd40
add esp, 4
call fcn.100129e0
call fcn.10018b70
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x14c]
mov cl, byte [ebp - 0xaf]
test dl, dl
je 0x10035816
test cl, cl
jne 0x10035816
call fcn.10018640
mov cl, byte [ebp - 0xaf]
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x2d58], 0
je 0x10035844
test dl, dl
je 0x1003582d
test cl, cl
je 0x10035844
push ebx
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.1001cd10
mov eax, dword [ebp - 0xc0]
add esp, 4
movss xmm0, dword [ebp - 0x154]
comiss xmm0, dword [0x10045e58]
jbe 0x1003589d
movss xmm0, dword [ebp - 0x44]
xor edx, edx
addss xmm0, dword [eax + 0x1560]
mov ecx, dword [ebp - 0x150]
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, dword [eax + 0x154c]
movss dword [ebp - 0x114], xmm0
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push 1
call fcn.1000d740
add esp, 0xc
mov dl, byte [ebp - 0xe6]
mov ecx, dword [ebp + 0x14]
test dl, dl
je 0x100358cd
test ecx, 0x200000
jne 0x100358cd
mov eax, dword [0x1004ad74]
mov word [eax + 0x19f3], 0x101
mov eax, dword [eax + 0x19b0]
or dword [eax + 0x10c], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xc6]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f23d
mov esp, ebp
pop ebp
ret
test dh, dh
jne 0x10035907
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], eax
mov al, byte [ebp - 0xb1]
mov esi, dword [ebx + 0x14]
mov edi, 0xfffffc18
xor edx, edx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x140], 0
movaps xmm4, xmm6
mov dword [ebp - 0xec], 0
movaps xmm3, xmm6
mov dword [ebp - 0xe4], edi
test al, al
je 0x1003594d
mov eax, dword [ebx + 0x3c]
or edi, 0xffffffff
lea eax, [esi + eax*2]
mov dword [ebp - 0x140], eax
lea edx, [edi + 2]
test cl, cl
je 0x1003596f
mov ecx, dword [ebx + 0x44]
cmp dword [ebx + 0x40], ecx
mov dword [ebp - 0xe4], 0xffffffff
cmovl ecx, dword [ebx + 0x40]
inc edx
lea eax, [esi + ecx*2]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xd4]
xor esi, esi
movzx eax, al
add edx, eax
mov dword [ebp - 0xbc], esi
mov eax, dword [ebp - 0xf0]
mov ecx, eax
movzx eax, word [eax]
test ax, ax
je 0x100359f9
mov ebx, dword [ebp - 0x140]
mov esi, eax
nop word [eax + eax]
cmp si, 0xa
jne 0x100359df
mov esi, dword [ebp - 0xbc]
inc esi
mov dword [ebp - 0xbc], esi
cmp edi, 0xffffffff
jne 0x100359c3
cmp ecx, ebx
jb 0x100359c3
dec edx
mov edi, esi
test edx, edx
jle 0x100359f3
cmp dword [ebp - 0xe4], 0xffffffff
jne 0x100359df
cmp ecx, dword [ebp - 0xec]
jb 0x100359df
dec edx
mov dword [ebp - 0xe4], esi
test edx, edx
jle 0x100359f3
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x100359a0
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0xf0]
inc esi
cmp edi, 0xffffffff
mov dword [ebp - 0xbc], esi
mov eax, esi
cmovne eax, edi
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x12c], eax
mov ecx, edi
mov eax, dword [ebp - 0xe4]
cmp eax, 0xffffffff
cmove eax, esi
mov dword [ebp - 0xe4], eax
cmp edi, edx
jbe 0x10035a40
cmp word [ecx - 2], 0xa
je 0x10035a40
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10035a32
mov eax, dword [0x1004ad74]
movaps xmm1, xmm6
movaps xmm5, xmm6
mov esi, dword [eax + 0x18c0]
movss xmm2, dword [eax + 0x18c4]
divss xmm2, dword [esi + 0x10]
cmp ecx, edi
jae 0x10035aa4
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10035a78
maxss xmm1, xmm5
movaps xmm5, xmm6
jmp 0x10035a9a
cmp edx, 0xd
je 0x10035a9a
mov edx, eax
cmp edx, dword [esi]
jge 0x10035a8d
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10035a92
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm5, xmm0
cmp ecx, edi
jb 0x10035a62
mov edx, dword [ebp - 0xf0]
movd xmm6, dword [ebp - 0x12c]
maxss xmm5, xmm1
mov ecx, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xe4]
cvtdq2ps xmm6, xmm6
movss xmm0, dword [ecx + 0x18c4]
mulss xmm6, xmm0
movss dword [ebp - 0x158], xmm5
movss dword [ebp - 0x15c], xmm6
test edi, edi
js 0x10035b92
mov eax, dword [ebp - 0xec]
mov ecx, eax
cmp eax, edx
jbe 0x10035b04
nop
cmp word [ecx - 2], 0xa
je 0x10035afe
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10035af0
mov eax, dword [ebp - 0xec]
mov edx, dword [0x1004ad74]
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm3, xmm3
mov esi, dword [edx + 0x18c0]
movss xmm2, dword [edx + 0x18c4]
divss xmm2, dword [esi + 0x10]
cmp ecx, eax
jae 0x10035b75
mov ebx, dword [ebp - 0xec]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10035b46
maxss xmm1, xmm3
movaps xmm3, xmm0
jmp 0x10035b6b
cmp edx, 0xd
je 0x10035b6b
mov edx, eax
cmp edx, dword [esi]
jge 0x10035b5b
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10035b60
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
xorps xmm0, xmm0
cmp ecx, ebx
jb 0x10035b30
mov ebx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc0]
maxss xmm3, xmm1
movd xmm4, edi
cvtdq2ps xmm4, xmm4
movss xmm0, dword [ecx + 0x18c4]
mulss xmm4, xmm0
mov edx, dword [ebp - 0xd4]
test dl, dl
je 0x10035bc8
movd xmm1, dword [ebp - 0xbc]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [ebp - 0xd0], xmm1
movss xmm1, dword [ebp - 0x110]
movaps xmm0, xmm1
movss dword [ebp - 0x10c], xmm0
jmp 0x10035bd0
movss xmm1, dword [ebp - 0x110]
cmp byte [ebp - 0xb1], 0
je 0x10035cb5
cmp byte [ebx + 0xe64], 0
je 0x10035cb5
test dword [ebp + 0x14], 0x1000
jne 0x10035c3b
movss xmm2, dword [ebx + 0x38]
movaps xmm0, xmm1
comiss xmm2, xmm5
mulss xmm0, dword [0x10045e88]
movaps xmm1, xmm5
jbe 0x10035c18
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x10035c29
subss xmm1, dword [ebp - 0x110]
comiss xmm1, xmm2
jb 0x10035c42
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x38], xmm0
jmp 0x10035c42
mov dword [ebx + 0x38], 0
test dl, dl
je 0x10035ca6
mov eax, dword [ebp - 0x100]
movaps xmm2, xmm6
subss xmm2, dword [ecx + 0x18c4]
movss xmm1, dword [eax + 0x54]
comiss xmm1, xmm2
jbe 0x10035c6a
xorps xmm0, xmm0
maxss xmm0, xmm2
jmp 0x10035c79
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0x120]
maxss xmm0, xmm1
mov esi, dword [ebp - 0xcc]
subss xmm1, xmm0
movss dword [eax + 0x54], xmm0
mov byte [ebx + 0xe64], 0
addss xmm1, dword [esi + 4]
movss dword [ebp - 0xd8], xmm1
movss dword [ebp - 0x114], xmm1
jmp 0x10035cbb
mov esi, dword [ebp - 0xcc]
mov byte [ebx + 0xe64], 0
jmp 0x10035cbb
mov esi, dword [ebp - 0xcc]
cmp byte [ebp - 0x124], 0
movss xmm5, dword [ebx + 0x38]
movss dword [ebp - 0xbc], xmm5
je 0x1003608d
mov edx, dword [ebx + 0x44]
mov eax, edx
mov ecx, dword [ebx + 0x40]
cmp ecx, edx
mov edi, dword [ebp - 0xf0]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xb1], 0
lea esi, [edi + eax*2]
lea eax, [edi + edx*2]
mov dword [ebp - 0xf0], eax
je 0x10035d0a
movss xmm1, dword [0x10045ecc]
jmp 0x10035d12
movss xmm1, dword [0x10045ea0]
mov edx, dword [0x1004ad74]
xorps xmm6, xmm6
movups xmm2, xmmword [edx + 0x1860]
mulss xmm1, dword [edx + 0x1510]
comiss xmm6, xmm2
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
movups xmmword [ebp - 0x24], xmm2
mulss xmm1, xmm0
jbe 0x10035d43
xorps xmm0, xmm0
jmp 0x10035d4f
movss xmm0, dword [0x10045ecc]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x20]
comiss xmm6, xmm2
mulss xmm0, xmm7
addss xmm0, dword [0x10045e9c]
cvttss2si ecx, xmm0
jbe 0x10035d6e
xorps xmm0, xmm0
jmp 0x10035d7a
movss xmm0, dword [0x10045ecc]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x1c]
mulss xmm0, xmm7
addss xmm0, dword [0x10045e9c]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x10035d9e
xorps xmm0, xmm0
jmp 0x10035daa
movss xmm0, dword [0x10045ecc]
minss xmm0, xmm2
movss xmm2, dword [0x10045e9c]
mulss xmm0, xmm7
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm1
jbe 0x10035dcd
xorps xmm0, xmm0
jmp 0x10035dd9
movss xmm0, dword [0x10045ecc]
minss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp byte [ebp - 0xd4], 0
mov dword [ebp - 0x12c], eax
je 0x10035e06
xorps xmm7, xmm7
movss dword [ebp - 0x140], xmm6
jmp 0x10035e1e
movss xmm0, dword [0x10045eec]
movss xmm7, dword [0x10045f84]
movss dword [ebp - 0x140], xmm0
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xf0]
movss dword [ebp - 0xe4], xmm7
movss xmm6, dword [edi]
addss xmm6, xmm3
subss xmm6, xmm5
movss xmm5, dword [ebp - 0xd8]
addss xmm5, xmm4
subss xmm5, dword [0x10045e58]
movss dword [ebp - 0xec], xmm5
cmp esi, ecx
jae 0x100360ef
movss xmm4, dword [ebp - 0x108]
mov edx, dword [ebp - 0xc0]
mov ebx, dword [0x1004ad74]
nop word [eax + eax]
movaps xmm0, xmm4
addss xmm0, dword [edx + 0x18c4]
comiss xmm5, xmm0
ja 0x10036079
movss xmm0, dword [ebp - 0x48]
comiss xmm0, xmm5
jbe 0x10035ebf
cmp esi, ecx
jae 0x1003604d
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1003604d
cmp esi, ecx
jb 0x10035ea6
jmp 0x1003604d
mov edx, dword [ebx + 0x18c0]
xorps xmm0, xmm0
movss xmm2, dword [ebx + 0x18c4]
xorps xmm3, xmm3
xorps xmm1, xmm1
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x10035f2c
nop
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x10035f19
cmp ecx, 0xd
je 0x10035f0d
cmp ecx, dword [edx]
jge 0x10035f00
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10035f05
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0xf0]
cmp esi, ecx
jb 0x10035ee0
jmp 0x10035f29
mov ecx, dword [ebp - 0xf0]
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
mov edx, dword [ebp - 0xc0]
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x10035f6e
mov eax, dword [edx + 0x18c0]
cmp dword [eax], 0x20
jle 0x10035f53
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10035f58
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10045e9c]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm2, xmm7
addss xmm1, xmm6
subss xmm2, dword [edx + 0x18c4]
movaps xmm3, xmm6
movss xmm6, dword [ebp - 0xf4]
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x140]
addss xmm0, xmm5
minss xmm1, xmm6
addss xmm2, xmm5
maxss xmm3, dword [ebp - 0x148]
minss xmm0, xmm4
movss dword [ebp - 0x1c], xmm1
maxss xmm2, dword [ebp - 0x48]
movss dword [ebp - 0x24], xmm3
comiss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x18], xmm0
jbe 0x1003604d
comiss xmm4, xmm2
jbe 0x1003604d
comiss xmm1, dword [ebp - 0x148]
jbe 0x1003604d
comiss xmm6, xmm3
jbe 0x1003604d
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x1c]
push dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 0x274]
call fcn.10027980
movss xmm0, dword [ebp - 0xf8]
movss xmm5, dword [ebp - 0xec]
movss xmm4, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xc0]
mov ebx, dword [0x1004ad74]
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0x11c]
movss dword [ebp - 0x11c], xmm0
movss xmm6, dword [edi]
movss xmm7, dword [ebp - 0xe4]
addss xmm5, dword [edx + 0x18c4]
subss xmm6, dword [ebp - 0xbc]
movss dword [ebp - 0xec], xmm5
cmp esi, ecx
jb 0x10035e80
movss xmm5, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0xcc]
mov edx, dword [0x1004ad74]
cmp byte [ebp - 0xd4], 0
jne 0x100360b3
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0xc4]
cmp eax, 0x200000
jge 0x100363a9
movzx eax, byte [ebp - 0xaf]
xorps xmm6, xmm6
movss xmm7, dword [0x10045ecc]
add eax, 0xb
add eax, eax
movups xmm1, xmmword [edx + eax*8 + 0x1510]
comiss xmm6, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [edx + 0x1510]
movups xmmword [ebp - 0x24], xmm1
jbe 0x100360ff
xorps xmm0, xmm0
jmp 0x10036106
movss xmm5, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xcc]
jmp 0x10036093
movaps xmm0, xmm7
minss xmm0, xmm1
movss xmm3, dword [0x10045f48]
movss xmm4, dword [0x10045e9c]
movss xmm1, dword [ebp - 0x20]
comiss xmm6, xmm1
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10036131
xorps xmm0, xmm0
jmp 0x10036138
movaps xmm0, xmm7
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x1c]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm1
jbe 0x10036158
xorps xmm0, xmm0
jmp 0x1003615f
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm2
jbe 0x1003617a
xorps xmm0, xmm0
jmp 0x10036181
movaps xmm0, xmm7
minss xmm0, xmm2
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0x3c]
mulss xmm0, xmm3
mov dword [ebp - 0x12c], 0
addss xmm0, xmm4
cvttss2si edi, xmm0
movss xmm0, dword [eax]
mov eax, dword [ebp - 0x100]
subss xmm0, xmm5
shl edi, 0x18
or edi, ecx
cmp byte [ebp - 0xd4], 0
mov esi, dword [eax + 0x274]
mov eax, dword [ebp - 0xc0]
cmovne edx, dword [ebp - 0x12c]
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x18c0]
subss xmm0, xmm6
movss xmm2, dword [eax + 0x18c4]
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xf4], eax
movss dword [ebp - 0x140], xmm0
test edi, 0xff000000
je 0x1003632e
test eax, eax
jne 0x10036249
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 1]
mov dword [ebp - 0x12c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036228
sub ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0xc4]
add eax, ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xc4], eax
je 0x1003632e
test ecx, ecx
jne 0x10036265
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x108], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x10036276
mov eax, dword [esi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x138], xmm0
test edx, edx
je 0x100362ee
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x138]
comiss xmm0, xmm1
jae 0x100362a8
movss dword [ebp - 0x138], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x134]
comiss xmm0, xmm1
jae 0x100362c2
movss dword [ebp - 0x134], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x130]
ja 0x100362d8
movss dword [ebp - 0x130], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x12c]
ja 0x100362ee
movss dword [ebp - 0x12c], xmm0
push dword [ebp - 0x140]
test edx, edx
push dword [ebp - 0x144]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x138]
mov dword [esp], 0
push dword [ebp - 0xf4]
push dword [ebp - 0xc4]
push eax
push edi
push esi
call fcn.1002aa80
xorps xmm6, xmm6
mov esi, dword [ebp - 0xcc]
cmp byte [ebp - 0xb1], 0
je 0x1003573b
mov edi, dword [ebp - 0xc0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [ebx + 0xe60]
movss dword [ebx + 0xe60], xmm0
cmp byte [edi + 0xb2], 0
je 0x100363ae
comiss xmm6, xmm0
jae 0x100363ae
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x130], xmm0
fld qword [ebp - 0x130]
fld qword [0x10045ee0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10045ec0]
fstp qword [ebp - 0x130]
movsd xmm1, qword [ebp - 0x130]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x100363ae
xor al, al
jmp 0x100363b0
xorps xmm6, xmm6
jmp 0x10036334
mov al, 1
movss xmm4, dword [ebp - 0xd8]
xorps xmm6, xmm6
movss xmm3, dword [esi]
movss xmm7, dword [0x10045e9c]
movss xmm5, dword [0x10045ecc]
addss xmm4, dword [ebp - 0x15c]
addss xmm3, dword [ebp - 0x158]
subss xmm4, xmm6
subss xmm3, dword [ebp - 0xbc]
movss dword [ebp - 0xd8], xmm4
movaps xmm0, xmm4
movss dword [ebp - 0x158], xmm3
movaps xmm2, xmm3
movss dword [ebp - 0x24], xmm3
movaps xmm1, xmm4
addss xmm2, xmm5
subss xmm0, dword [edi + 0x18c4]
subss xmm1, dword [0x10045edc]
movss dword [ebp - 0x1c], xmm2
addss xmm0, xmm7
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x20], xmm0
test al, al
je 0x10036574
comiss xmm1, dword [ebp - 0x48]
jbe 0x10036574
movss xmm5, dword [ebp - 0x11c]
comiss xmm5, xmm0
jbe 0x1003656c
comiss xmm2, dword [ebp - 0x148]
jbe 0x1003656c
movss xmm0, dword [ebp - 0xf8]
comiss xmm0, xmm3
jbe 0x1003656c
mov eax, dword [0x1004ad74]
movss xmm4, dword [0x10045ecc]
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm3
movups xmm2, xmmword [eax + 0x15c0]
comiss xmm6, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0x3c], xmm2
jbe 0x100364ac
xorps xmm0, xmm0
jmp 0x100364b3
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [0x10045f48]
movss xmm2, dword [ebp - 0x38]
comiss xmm6, xmm2
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x100364d6
xorps xmm0, xmm0
jmp 0x100364dd
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x34]
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm2
jbe 0x100364fd
xorps xmm0, xmm0
jmp 0x10036504
movaps xmm0, xmm4
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm1
jbe 0x1003651f
xorps xmm0, xmm0
jmp 0x10036526
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm3
push ecx
mov dword [esp], 0x3f800000
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 0x274]
call fcn.10027860
movss xmm3, dword [ebp - 0x158]
xorps xmm6, xmm6
movss xmm4, dword [ebp - 0xd8]
movss xmm5, dword [0x10045ecc]
cmp byte [ebp - 0xe0], 0
jne 0x10035741
subss xmm4, dword [edi + 0x18c4]
subss xmm3, xmm5
movss dword [edi + 0x2d20], xmm4
movss dword [edi + 0x2d1c], xmm3
jmp 0x10035741