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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov ecx, dword [0x10214570]
push esi
push edi
mov eax, dword [ecx + 0x1994]
mov byte [eax + 0x84], 1
mov edi, dword [ecx + 0x1994]
mov dword [ebp - 0x10], edi
cmp byte [edi + 0x87], 0
jne 0x1005d9bd
mov edx, dword [ebp + 0x18]
mov ecx, edx
mov esi, dword [0x10214570]
mov eax, edx
shr eax, 0xe
and eax, 0xffffff01
shr ecx, 0x14
mov dword [ebp - 0x54], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x80], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x2c], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x68], eax
test cl, cl
je 0x1005d83d
call fcn.10036180
push 0
push dword [ebp + 8]
mov ecx, edi
call fcn.10039a00
movss xmm0, dword [0x101016b4]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xe8]
push eax
movss dword [ebp - 0xa4], xmm0
call fcn.10036d30
add esp, 0x14
cmp byte [ebp - 0x30], 0
je 0x1005d895
call fcn.1003a0d0
fmul dword [0x10102990]
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
jmp 0x1005d89d
movss xmm0, dword [ebp - 0xe4]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [esi + 0x1540]
movss dword [ebp - 0x38], xmm0
call fcn.10036700
movss xmm0, dword [ebp - 0x38]
sub esp, 8
mov eax, dword [ebp + 0x14]
addss xmm0, xmm0
fstp dword [ebp - 0x4c]
addss xmm0, dword [ebp - 0x48]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [esp], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x90]
push eax
call fcn.100365f0
movss xmm3, dword [edi + 0xd0]
xorps xmm5, xmm5
movss xmm1, dword [ebp - 0x8c]
movaps xmm2, xmm3
addss xmm1, dword [edi + 0xd4]
addss xmm2, dword [ebp - 0x90]
movss xmm0, dword [ebp - 0xe8]
add esp, 0x14
comiss xmm0, xmm5
movss dword [ebp - 0x7c], xmm3
movss xmm4, dword [edi + 0xd4]
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x70], xmm1
jbe 0x1005d948
addss xmm0, dword [esi + 0x1554]
jmp 0x1005d94b
xorps xmm0, xmm0
cmp byte [ebp - 0x30], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [ebp - 0xf8], xmm3
movss dword [ebp - 0xf4], xmm4
mov dword [ebp - 0x60], edi
movss dword [ebp - 0xf0], xmm0
movss dword [ebp - 0xec], xmm1
je 0x1005da47
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xf8]
push edi
push eax
call fcn.1003ba00
add esp, 0xc
test al, al
jne 0x1005d9c5
movss xmm0, dword [esi + 0x1540]
lea eax, [ebp - 0xf8]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1003bce0
add esp, 8
call fcn.10038790
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [ebp - 0x74]
lea eax, [ebp - 0x3c]
subss xmm0, dword [ebp - 0x7c]
push 0
push eax
push edi
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x70]
subss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x38], xmm0
call fcn.10035dd0
add esp, 0xc
test al, al
jne 0x1005da08
call fcn.10037e80
call fcn.10038790
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10214570]
mov eax, dword [ecx + 0x1994]
mov byte [eax + 0x84], 1
mov ecx, dword [ecx + 0x1994]
mov dword [ebp - 0x60], ecx
mov eax, dword [ecx + 0x140]
or dword [ecx + 0x148], eax
movss xmm0, dword [ebp - 0x90]
subss xmm0, dword [ecx + 0x78]
movss dword [ebp - 0x90], xmm0
jmp 0x1005da80
movss xmm0, dword [esi + 0x1540]
lea eax, [ebp - 0xf8]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1003bce0
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xf8]
push edi
push eax
call fcn.1003ba00
add esp, 0x14
test al, al
je 0x1005d9bd
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.1003bbb0
add esp, 8
mov byte [ebp - 0x19], al
test al, al
je 0x1005da9e
mov dword [esi + 0x1c6c], 1
cmp byte [ebp - 0x80], 0
je 0x1005db1e
mov ecx, dword [esi + 0x18b0]
push 0x2a
call fcn.10047e30
mov edi, dword [ebp - 8]
add esi, 0x2b9c
mov edx, eax
push esi
mov ecx, dword [edi + 0x18b0]
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0x18b0]
mov ecx, dword [ecx + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [edi + 0x18b0]
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov eax, dword [edi + 0x18b0]
mov eax, dword [eax + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x18b0]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x18b0]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], edx
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
call fcn.10040270
add esp, 4
mov esi, edi
mov ecx, dword [ebp - 0x44]
lea edi, [esi + 0x1d2c]
xor eax, eax
cmp dword [edi], ecx
cmovne edi, eax
test dword [ebp + 0x18], 0x440
mov dword [ebp - 0x24], edi
sete al
movzx eax, al
push eax
push ecx
push dword [ebp - 0x10]
call fcn.10039270
mov dl, al
add esp, 0xc
mov byte [ebp - 0x25], dl
test dl, dl
je 0x1005dbb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x330]
cmp ecx, dword [eax + 0x338]
jne 0x1005dbb0
mov byte [ebp - 9], 1
mov byte [ebp - 0x28], 0
cmp byte [ebp - 0x19], 0
je 0x1005db80
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 3], 1
jne 0x1005db84
mov byte [ebp - 3], 0
mov eax, dword [esi + 0x19b4]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
je 0x1005dbc2
cmp dword [esi + 0x1ab8], ecx
je 0x1005dbaa
cmp dword [esi + 0x1aac], ecx
jne 0x1005dbc2
cmp dword [esi + 0x1acc], 3
jne 0x1005dbc2
mov byte [ebp - 0xa], 1
jmp 0x1005dbc6
mov byte [ebp - 9], 0
test dl, dl
je 0x1005db69
mov byte [ebp - 0x28], 1
mov byte [ebp - 9], 0
jmp 0x1005db6d
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0x30], 0
je 0x1005dbf0
test edi, edi
je 0x1005dbf0
test eax, eax
jne 0x1005dbf0
mov ecx, dword [ebp - 0x60]
push eax
push str.SCROLLY
call fcn.10039b90
cmp dword [esi + 0x19b8], eax
jne 0x1005dbf0
mov byte [ebp - 2], 1
jmp 0x1005dc02
cmp byte [ebp - 0x30], 0
mov byte [ebp - 2], 0
je 0x1005dc1d
mov byte [ebp - 2], 0
test edi, edi
je 0x1005dc1d
mov ecx, dword [ebp - 0x60]
push 0
push str.SCROLLY
call fcn.10039b90
mov byte [ebp - 0x4e], 1
cmp dword [esi + 0x19b4], eax
je 0x1005dc21
mov byte [ebp - 0x4e], 0
mov eax, dword [esi + 0x19b4]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 0x11], 0
cmp eax, edx
je 0x1005dc4d
mov ecx, dword [ebp + 0x18]
test cl, 0x10
mov cl, byte [ebp - 0xa]
jne 0x1005dc41
test cl, cl
je 0x1005dc50
cmp byte [ebp - 0x30], 0
jne 0x1005dc50
mov byte [ebp - 0x20], 1
jmp 0x1005dc54
mov cl, byte [ebp - 0xa]
mov byte [ebp - 0x20], 0
cmp byte [ebp - 0x25], 0
mov dword [ebp - 0x5c], 0x63
jne 0x1005dc86
cmp byte [ebp - 3], 0
jne 0x1005dc86
cmp byte [ebp - 2], 0
jne 0x1005dc86
test cl, cl
jne 0x1005dc86
cmp byte [esi + 0x3d8], cl
je 0x1005ddff
mov byte [ebp - 0x11], 1
jmp 0x1005ddff
mov dword [ebp - 0x24], edi
cmp eax, edx
je 0x1005ddbe
lea edi, [esi + 0x1d2c]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0xe5c], 0xbe99999a
mov dword [ebp - 0x24], edi
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1005dcb0
sub esi, ecx
lea ecx, [edi + 0x24]
inc esi
push esi
call fcn.10044900
push esi
push dword [ebp + 0xc]
push dword [edi + 0x2c]
call fcn.100d00a0
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0xc]
mov esi, dword [edi + 4]
add esp, 0xc
inc eax
mov dword [ebp - 0x48], 0
push eax
call fcn.1004b9d0
lea eax, [ebp - 0x48]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [edi + 0x14]
call fcn.1003aae0
mov ecx, dword [ebp - 0x48]
add esp, 0x14
sub ecx, dword [ebp + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], eax
cmp dword [edi], ecx
jne 0x1005dd23
cmp esi, eax
jne 0x1005dd23
mov ecx, edi
call fcn.1005c610
mov ecx, dword [ebp - 0x30]
jmp 0x1005dd94
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0x30]
mov word [edi + 0xe4e], ax
mov dword [edi + 0xe54], eax
mov eax, dword [ebp - 0x5c]
mov word [edi + 0xe50], ax
mov al, cl
xor al, 1
mov dword [edi + 0x34], 0
mov dword [edi + 0xe58], 0x3e7
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0x10000
mov dword [edi + 0x4c], 0
mov byte [edi + 0x48], al
test cl, cl
jne 0x1005dd94
mov eax, dword [ebp - 0x20]
mov edx, 1
cmp byte [ebp - 9], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x20], eax
test dword [ebp + 0x18], 0x2000
je 0x1005dda1
mov byte [edi + 0x44], 1
mov esi, dword [ebp - 8]
test cl, cl
jne 0x1005ddbe
cmp byte [ebp - 0x28], cl
jne 0x1005ddba
cmp byte [ebp - 3], cl
je 0x1005ddbe
cmp byte [esi + 0x100], cl
je 0x1005ddbe
mov byte [ebp - 0x20], 1
push dword [ebp - 0x10]
push dword [ebp - 0x44]
call fcn.100419e0
push dword [ebp - 0x10]
push dword [ebp - 0x44]
call fcn.10041eb0
push dword [ebp - 0x10]
call fcn.100390e0
add esp, 0x14
mov dword [esi + 0x19d0], 2
cmp byte [ebp - 0x30], 0
jne 0x1005ddff
test byte [ebp + 0x18], 0x80
jne 0x1005ddff
mov dword [esi + 0x19cc], 0xc
mov ecx, dword [ebp - 0x44]
cmp dword [esi + 0x19b4], ecx
jne 0x1005de16
test edi, edi
jne 0x1005de16
call fcn.10036f80
mov ecx, dword [ebp - 0x44]
movss xmm0, dword [0x101016a8]
mov byte [ebp - 0x4d], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x48], 0
cmp dword [esi + 0x19b4], ecx
jne 0x1005e165
cmp byte [ebp - 0x54], 0
je 0x1005de91
cmp byte [esi + 0x19c4], 0
jne 0x1005de91
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0xc]
inc eax
mov dword [ebp - 0x48], 0
push eax
call fcn.1004b9d0
lea eax, [ebp - 0x48]
push eax
push 0
push dword [ebp + 0xc]
push dword [edi + 0xc]
push dword [edi + 0x14]
call fcn.1003aae0
mov dword [edi + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x48]
mov ecx, edi
sub eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
call fcn.1005c610
movss xmm0, dword [0x101016a8]
mov esi, dword [ebp - 8]
mov eax, dword [edi + 8]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xe64], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0xe68], eax
mov dword [edi + 0xe6c], edx
cmp byte [esi + 0xf0], 0
mov dword [esi + 0x2e7c], 1
sete al
cmp byte [ebp - 0x30], 0
mov byte [esi + 0x19c5], al
movss xmm7, dword [esi + 0xe8]
subss xmm7, dword [ebp - 0x7c]
subss xmm7, dword [esi + 0x153c]
addss xmm7, dword [edi + 0x34]
je 0x1005df0f
mov eax, dword [ebp - 0x60]
movss xmm1, dword [esi + 0xec]
subss xmm1, dword [eax + 0xd4]
subss xmm1, dword [esi + 0x1540]
jmp 0x1005df1b
movss xmm1, dword [esi + 0x18b4]
mulss xmm1, xmm0
cmp byte [ebp - 0x20], 0
mov al, byte [esi + 0xb5]
mov byte [ebp - 2], al
jne 0x1005e08e
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x1005df49
test al, al
jne 0x1005dfc1
cmp byte [esi + 0x3dd], al
jne 0x1005e08e
cmp byte [esi + 0x3d8], 0
je 0x1005dfee
cmp byte [edi + 0xe61], 0
jne 0x1005dfee
test cl, cl
je 0x1005e0ac
cmp byte [edi + 0x48], 0
je 0x1005df8b
push 0
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.10060f40
movss xmm1, dword [ebp - 0xbc]
add esp, 0xc
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm7
push edi
call fcn.10062c20
mov edx, dword [ebp + 0x20]
add esp, 0xc
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
jmp 0x1005e0a9
cmp byte [esi + 0x3dd], 0
je 0x1005df49
push 0x1000c
mov ecx, edi
call fcn.100605e0
push 0x3000d
mov ecx, edi
call fcn.100605e0
mov edx, dword [ebp + 0x20]
jmp 0x1005e0a9
cmp byte [esi + 0xf0], 0
je 0x1005e0ac
cmp byte [edi + 0xe61], 0
jne 0x1005e0b5
movss xmm0, dword [esi + 0x378]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1005e02d
movss xmm0, dword [esi + 0x37c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005e0ac
cmp byte [edi + 0x48], 0
je 0x1005e04d
push 0
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.10060f40
movss xmm1, dword [ebp - 0xbc]
add esp, 0xc
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1005e05b
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm7
push edi
call fcn.10062c20
mov edx, dword [ebp + 0x20]
add esp, 0xc
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x1005e0a9
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
mov byte [edi + 0xe61], 1
mov al, byte [ebp - 2]
cmp byte [edi + 0xe61], 0
je 0x1005e0c5
cmp byte [esi + 0xf0], 0
jne 0x1005e0c5
mov byte [edi + 0xe61], 0
cmp dword [esi + 0x14f8], 0
jle 0x1005e165
cmp byte [esi + 0x100], 0
je 0x1005e0e4
cmp byte [esi + 0x102], 0
je 0x1005e158
test al, al
je 0x1005e0f1
cmp byte [esi + 0x103], 0
jne 0x1005e158
cmp byte [ebp - 0x54], 0
jne 0x1005e158
cmp byte [ebp - 0xa], 0
jne 0x1005e158
mov eax, dword [ebp - 8]
xor esi, esi
mov eax, dword [eax + 0x1500]
push edx
push dword [ebp + 0x1c]
movzx eax, word [eax + esi*2]
push dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.10060020
add esp, 0x10
test al, al
je 0x1005e147
push dword [ebp - 0x18]
lea eax, [edi + 0x38]
push eax
push edi
call fcn.100632c0
add esp, 0xc
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov eax, dword [ebp - 8]
inc esi
mov edx, dword [ebp + 0x20]
cmp esi, dword [eax + 0x14f8]
jl 0x1005e102
mov esi, eax
push 0
lea ecx, [esi + 0x14f8]
call fcn.1004b9d0
mov eax, dword [ebp - 0x44]
xor cl, cl
mov byte [ebp - 1], cl
cmp dword [esi + 0x19b4], eax
jne 0x1005f026
cmp byte [esi + 0x19c4], cl
jne 0x1005f026
cmp byte [ebp - 0x11], cl
jne 0x1005f026
mov dl, byte [esi + 0x101]
mov eax, 0x20000
xor esi, esi
test dl, dl
cmovne esi, eax
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xb5]
mov byte [ebp - 0x61], cl
test cl, cl
je 0x1005e200
cmp byte [eax + 0x103], 0
je 0x1005e1c9
cmp byte [eax + 0x100], 0
jne 0x1005e1c9
mov ecx, 1
jmp 0x1005e1cb
xor ecx, ecx
test ecx, ecx
jne 0x1005e212
xor dh, dh
mov cl, byte [ebp - 0x61]
mov byte [ebp - 0xa], dh
test cl, cl
je 0x1005e223
cmp byte [eax + 0x103], 0
je 0x1005e223
test dl, dl
je 0x1005e223
cmp byte [eax + 0x100], 0
jne 0x1005e223
cmp byte [eax + 0x102], 0
jne 0x1005e223
mov byte [ebp - 0x27], 1
jmp 0x1005e22b
cmp byte [eax + 0x100], 0
je 0x1005e1cf
cmp byte [eax + 0x103], 0
jne 0x1005e1cf
cmp byte [eax + 0x102], 0
jne 0x1005e1cf
test dl, dl
jne 0x1005e1cf
mov dh, 1
jmp 0x1005e1d1
mov byte [ebp - 0x27], 0
test cl, cl
je 0x1005e28c
cmp byte [eax + 0x103], 0
mov ch, byte [eax + 0x102]
mov byte [ebp - 9], ch
je 0x1005e296
cmp byte [eax + 0x100], 0
jne 0x1005e296
test ch, ch
jne 0x1005e296
mov dl, byte [eax + 0x100]
mov byte [ebp - 3], 1
cmp byte [eax + 0x101], 0
mov byte [ebp - 2], 0
je 0x1005e2e8
mov byte [ebp - 2], 0
test dl, dl
jne 0x1005e2e8
mov byte [ebp - 2], dl
cmp byte [eax + 0x102], dl
jne 0x1005e2e8
mov byte [ebp - 2], dl
cmp byte [eax + 0x103], dl
jne 0x1005e2e8
mov byte [ebp - 0x26], 1
mov byte [ebp - 2], dl
jmp 0x1005e2ec
mov ch, byte [eax + 0x100]
mov byte [ebp - 0x27], 0
mov dl, byte [eax + 0x100]
mov cl, ch
mov byte [ebp - 9], cl
mov byte [ebp - 3], 0
test dl, dl
je 0x1005e254
cmp byte [eax + 0x101], 0
mov byte [ebp - 9], cl
mov byte [ebp - 3], 0
jne 0x1005e254
cmp byte [eax + 0x102], 0
mov byte [ebp - 9], cl
mov byte [ebp - 3], 0
jne 0x1005e254
cmp byte [eax + 0x103], 0
mov byte [ebp - 9], cl
mov byte [ebp - 3], 0
jne 0x1005e254
mov byte [ebp - 2], 1
mov byte [ebp - 9], cl
mov byte [ebp - 3], 0
mov byte [ebp - 0x26], 0
test dh, dh
je 0x1005e300
push 1
push 0x12
call fcn.1003b6b0
add esp, 8
test al, al
jne 0x1005e316
cmp byte [ebp - 0x26], 0
je 0x1005e336
push 1
push 0xa
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e336
cmp byte [ebp - 0x54], 0
jne 0x1005e336
cmp byte [ebp - 0x80], 0
jne 0x1005e336
cmp byte [ebp - 0x30], 0
je 0x1005e330
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1005e336
mov byte [ebp - 0x19], 1
jmp 0x1005e33a
mov byte [ebp - 0x19], 0
cmp byte [ebp - 0xa], 0
je 0x1005e350
push 1
push 0x10
call fcn.1003b6b0
add esp, 8
test al, al
jne 0x1005e366
cmp byte [ebp - 2], 0
je 0x1005e380
push 1
push 9
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e380
cmp byte [ebp - 0x80], 0
jne 0x1005e380
cmp byte [ebp - 0x30], 0
je 0x1005e37a
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1005e380
mov byte [ebp - 2], 1
jmp 0x1005e384
mov byte [ebp - 2], 0
cmp byte [ebp - 0xa], 0
je 0x1005e39a
push 1
push 0x11
call fcn.1003b6b0
add esp, 8
test al, al
jne 0x1005e3b0
cmp byte [ebp - 0x26], 0
je 0x1005e3ba
push 1
push 9
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e3ba
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x25], 1
je 0x1005e3be
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0xa], 0
je 0x1005e3e6
push 1
push 0x14
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e3e6
cmp byte [ebp - 0x54], 0
jne 0x1005e3e6
cmp byte [ebp - 0x2c], 0
je 0x1005e3e6
mov byte [ebp - 0x26], 1
jmp 0x1005e3f0
xor al, al
mov byte [ebp - 0x26], al
cmp byte [ebp - 0xa], al
je 0x1005e400
push 1
push 0x13
call fcn.1003b6b0
add esp, 8
test al, al
jne 0x1005e416
cmp byte [ebp - 0x27], 0
je 0x1005e426
push 1
push 0x14
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e426
cmp byte [ebp - 0x54], 0
jne 0x1005e426
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 0x27], 1
jne 0x1005e42a
mov byte [ebp - 0x27], 0
push 1
push 1
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e47a
cmp byte [ebp - 3], 0
je 0x1005e457
mov eax, 0x10004
mov ecx, edi
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
cmp byte [ebp - 9], 0
mov ecx, 0x1000c
mov eax, 0x10000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 2
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e4ca
cmp byte [ebp - 3], 0
je 0x1005e4a7
mov eax, 0x10005
mov ecx, edi
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
cmp byte [ebp - 9], 0
mov ecx, 0x1000d
mov eax, 0x10001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 3
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e538
cmp byte [ebp - 0x30], 0
je 0x1005e538
mov eax, dword [ebp - 8]
cmp byte [eax + 0x100], 0
je 0x1005e51b
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 8]
push ecx
movss xmm0, dword [eax + 0x64]
subss xmm0, dword [esi + 0x18b4]
maxss xmm0, dword [0x101016a0]
movss dword [esp], xmm0
push eax
call fcn.10042380
add esp, 8
jmp 0x1005f023
movzx eax, byte [ebp - 3]
mov ecx, edi
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 4
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e5ab
cmp byte [ebp - 0x30], 0
je 0x1005e5ab
mov eax, dword [ebp - 8]
cmp byte [eax + 0x100], 0
je 0x1005e58e
call fcn.1003a080
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x60]
fstp dword [ebp - 0x38]
push ecx
movss xmm0, dword [esi + 0x18b4]
addss xmm0, dword [eax + 0x64]
minss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
push eax
call fcn.10042380
add esp, 8
jmp 0x1005f023
movzx eax, byte [ebp - 3]
mov ecx, edi
lea eax, [eax*4 + 0x10003]
or eax, esi
push eax
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 7
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e5e5
mov eax, esi
or eax, 0x10006
or esi, 0x10004
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x100], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 8
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e604
mov eax, esi
or eax, 0x10007
or esi, 0x10005
jmp 0x1005e5c8
push 1
push 0xa
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e630
cmp byte [ebp - 0x54], 0
jne 0x1005e630
or esi, 0x10008
mov ecx, edi
push esi
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 0xb
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e6bc
cmp byte [ebp - 0x54], 0
jne 0x1005e6bc
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1005e6a6
cmp byte [ebp - 9], 0
je 0x1005e676
push 0x3000c
mov ecx, edi
call fcn.100605e0
or esi, 0x10009
mov ecx, edi
push esi
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
cmp byte [ebp - 0x61], 0
je 0x1005e6a6
mov eax, dword [ebp - 8]
cmp byte [eax + 0x103], 0
je 0x1005e6a6
cmp byte [eax + 0x102], 0
jne 0x1005e6a6
cmp byte [eax + 0x100], 0
jne 0x1005e6a6
push 0x30004
mov ecx, edi
call fcn.100605e0
or esi, 0x10009
mov ecx, edi
push esi
call fcn.100605e0
mov esi, dword [ebp - 8]
jmp 0x1005f023
push 1
push 0xd
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e739
mov edx, dword [ebp + 0x18]
mov eax, edx
mov esi, dword [ebp - 8]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x30], 0
je 0x1005e6ed
mov cl, byte [esi + 0x100]
test al, al
je 0x1005e6fa
test cl, cl
jne 0x1005e6fe
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x28], 1
jmp 0x1005f023
test cl, cl
jne 0x1005e6ed
cmp byte [ebp - 0x54], 0
jne 0x1005f023
push dword [ebp + 0x20]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xa
push dword [ebp + 0x1c]
push edx
push eax
call fcn.10060020
add esp, 0x10
test al, al
je 0x1005f023
push dword [ebp - 0x18]
mov ecx, edi
call fcn.100605e0
jmp 0x1005f023
test dword [ebp + 0x18], 0x400
je 0x1005e7a9
push 1
push 0
call fcn.1003b6b0
mov esi, dword [ebp - 8]
add esp, 8
test al, al
je 0x1005e7ac
cmp byte [esi + 0x100], 0
jne 0x1005e7ac
cmp byte [esi + 0x101], 0
jne 0x1005e7ac
cmp byte [esi + 0x102], 0
jne 0x1005e7ac
cmp byte [ebp - 0x54], 0
jne 0x1005e7ac
push dword [ebp + 0x20]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 9
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.10060020
add esp, 0x10
test al, al
je 0x1005f023
push dword [ebp - 0x18]
mov ecx, edi
call fcn.100605e0
jmp 0x1005f023
mov esi, dword [ebp - 8]
push 1
push 0xe
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e7c6
mov cl, 1
mov byte [ebp - 0x11], cl
jmp 0x1005f026
mov al, byte [ebp - 0x26]
test al, al
jne 0x1005f007
cmp byte [ebp - 0x27], al
jne 0x1005f007
cmp byte [ebp - 0xa], al
je 0x1005e80c
push 1
push 0xf
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005e80c
mov eax, dword [edi + 4]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xe60], 1
jmp 0x1005f020
mov al, byte [ebp - 0x19]
test al, al
jne 0x1005ecc6
cmp byte [ebp - 2], al
jne 0x1005ecc6
cmp byte [ebp - 0x25], al
je 0x1005f023
call fcn.10039360
mov esi, eax
test esi, esi
je 0x1005e472
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005e840
sub ecx, edx
lea eax, [ecx*2 + 2]
push eax
call fcn.1003c240
mov dword [ebp - 0x18], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], eax
cmp byte [esi], al
je 0x1005e8b9
xor edi, edi
push 0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.1003a660
add esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1005e8b0
cmp eax, 0x10000
jae 0x1005e8ab
push dword [ebp + 0x20]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.10060020
add esp, 0x10
test al, al
je 0x1005e8ab
mov ecx, dword [ebp - 0x18]
mov ax, word [ebp - 0x2c]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1005e867
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1005ecb3
mov edx, dword [edi + 0x40]
lea esi, [edi + 0x38]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
cmp ecx, edx
je 0x1005e923
mov dword [ebp - 0x40], ecx
cmp ecx, eax
jle 0x1005e8f1
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 0x40], ecx
jmp 0x1005e8f4
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x58], edx
cmp edx, eax
jle 0x1005e905
mov edx, eax
mov dword [esi + 8], eax
mov dword [ebp - 0x58], edx
jmp 0x1005e908
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x40], edi
jne 0x1005e923
mov ecx, dword [ebp - 0x40]
mov edx, edi
mov dword [esi], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
mov edi, dword [esi]
cmp edi, eax
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x24]
jle 0x1005e934
mov dword [esi], eax
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1005e983
mov dword [ebp - 0x58], ecx
cmp ecx, eax
jle 0x1005e94c
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 0x58], ecx
jmp 0x1005e94f
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x2c], edx
cmp edx, eax
jle 0x1005e95c
mov dword [esi + 8], eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x2c]
mov edi, edx
cmp dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
jne 0x1005e983
mov ecx, dword [ebp - 0x58]
mov dword [esi], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x40], eax
jle 0x1005e98a
mov dword [esi], eax
cmp ecx, edx
je 0x1005ebdf
mov eax, dword [ebp - 0x5c]
add esi, 0x18
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
cmp ecx, edx
jge 0x1005eac5
sub edx, ecx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x10], edx
jne 0x1005e9cc
push esi
call fcn.100630a0
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, 0x3e7
jle 0x1005e9e8
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005eaac
mov eax, dword [esi + 0xe04]
add eax, edx
cmp eax, 0x3e7
jle 0x1005ea1e
mov edi, dword [ebp - 0x10]
nop word [eax + eax]
push esi
call fcn.100630a0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x1005ea00
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
movzx eax, word [esi + 0xdfe]
movsx ecx, ax
shl ecx, 4
add ecx, esi
lea eax, [eax + 1]
mov dword [ebp - 0x2c], ecx
mov word [esi + 0xdfe], ax
je 0x1005eaac
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0
test edx, edx
jne 0x1005ea5b
mov dword [eax + 0xc], 0xffffffff
jmp 0x1005eaaf
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], edx
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1005eaaf
xor esi, esi
test edx, edx
jle 0x1005eaaf
lea eax, [ecx + ecx]
mov dword [ebp - 0x38], eax
mov ecx, eax
mov eax, dword [edi + 0x14]
lea ecx, [ecx + 2]
mov edx, dword [ebp - 0x4c]
mov ax, word [ecx + eax - 2]
mov word [edx + esi*2], ax
inc esi
mov edx, dword [ebp - 0x10]
cmp esi, edx
jl 0x1005ea92
mov ecx, dword [ebp - 0x20]
push edx
push ecx
push edi
call fcn.10060de0
mov eax, dword [edi + 0x3c]
lea esi, [edi + 0x38]
mov dword [esi + 8], eax
jmp 0x1005ebd0
sub ecx, edx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x20], ecx
jne 0x1005eae0
push esi
call fcn.100630a0
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0x3e7
jle 0x1005eafc
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005ebbc
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x1005eb2e
mov edi, dword [ebp - 0x20]
nop
push esi
call fcn.100630a0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x1005eb10
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
add edx, esi
lea eax, [eax + 1]
mov dword [ebp - 0x2c], edx
mov word [esi + 0xdfe], ax
je 0x1005ebbc
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1005eb6b
mov dword [eax + 0xc], 0xffffffff
jmp 0x1005ebbf
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], ecx
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1005ebbf
xor esi, esi
test ecx, ecx
jle 0x1005ebbf
lea eax, [edx + edx]
mov dword [ebp - 0x38], eax
mov edx, eax
mov eax, dword [edi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x4c]
mov ax, word [edx + eax - 2]
mov word [ecx + esi*2], ax
inc esi
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
jl 0x1005eba2
mov edx, dword [ebp - 0x10]
push ecx
push edx
push edi
call fcn.10060de0
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x38]
mov dword [esi + 4], eax
mov ecx, esi
add esp, 0xc
mov byte [ecx + 0xf], 0
mov dword [esi], eax
mov byte [ecx + 0xf], 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
push dword [esi]
push edi
call fcn.10060e40
add esp, 0x10
test al, al
je 0x1005ec98
cmp word [esi + 0xe16], 0x63
mov eax, dword [esi]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x18]
mov word [esi + 0xe18], cx
mov dword [esi + 0xe20], 0x3e7
jne 0x1005ec27
push eax
call fcn.100630a0
add esp, 4
cmp dword [esi + 0xe1c], 0x3e7
jle 0x1005ec4e
lea edi, [esi + 0x18]
push edi
call fcn.100630a0
add esp, 4
cmp dword [esi + 0xe1c], 0x3e7
jg 0x1005ec36
mov edi, dword [ebp - 0x24]
movzx ecx, word [esi + 0xe16]
movsx edx, cx
shl edx, 4
add edx, 0x18
lea eax, [ecx + 1]
mov word [esi + 0xe16], ax
add edx, esi
je 0x1005ec8d
mov eax, dword [ebp - 0x38]
mov dword [edx], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 4], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], 0xffffffff
add dword [esi], eax
mov byte [esi + 0xf], 0
jmp 0x1005ecac
mov eax, dword [ebp - 0x34]
add dword [esi], eax
mov byte [esi + 0xf], 0
jmp 0x1005ecac
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x1005ecac
dec eax
mov word [esi + 0xe16], ax
mov byte [edi + 0xe60], 1
push dword [ebp - 0x18]
call fcn.1003c270
mov esi, dword [ebp - 8]
add esp, 4
jmp 0x1005f023
cmp dword [esi + 0xd4], 0
je 0x1005ed39
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
cmp ecx, eax
je 0x1005ece3
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x1005ece8
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], edx
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
call fcn.1003aa60
lea esi, [eax + 1]
push esi
call fcn.1003c240
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0x2c]
push ecx
lea ecx, [edx + eax*2]
push ecx
push esi
push edi
call fcn.1003ad80
push edi
call fcn.10041a90
push edi
call fcn.1003c270
mov esi, dword [ebp - 8]
add esp, 0x24
mov al, byte [ebp - 0x19]
test al, al
je 0x1005f023
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x40]
jne 0x1005ed60
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x47], 0
lea eax, [esi + 0x38]
mov byte [esi + 0xe60], 1
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x1005e472
mov edi, dword [esi + 4]
cmp ecx, edi
jle 0x1005ed8d
mov dword [eax + 4], edi
mov ecx, edi
mov dword [ebp - 0x10], edi
cmp edx, edi
jle 0x1005ed99
mov dword [eax + 8], edi
mov edx, edi
mov dword [ebp - 0x20], edi
cmp ecx, edx
jne 0x1005ed9f
mov dword [eax], ecx
cmp dword [eax], edi
jle 0x1005eda5
mov dword [eax], edi
cmp ecx, edx
je 0x1005effe
lea edi, [eax + 0x18]
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0xe08], 0x3e7
mov word [edi + 0xe00], ax
jge 0x1005eeea
sub edx, ecx
cmp word [edi + 0xdfe], 0x63
mov dword [ebp - 0x20], edx
jne 0x1005ede5
push edi
call fcn.100630a0
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 0x3e7
jle 0x1005ee01
xor eax, eax
mov word [edi + 0xdfe], ax
mov dword [edi + 0xe04], eax
jmp 0x1005eebf
mov eax, dword [edi + 0xe04]
add eax, edx
cmp eax, 0x3e7
jle 0x1005ee31
mov esi, dword [ebp - 0x20]
push edi
call fcn.100630a0
mov eax, dword [edi + 0xe04]
add esp, 4
add eax, esi
cmp eax, 0x3e7
jg 0x1005ee13
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx eax, word [edi + 0xdfe]
movsx ecx, ax
shl ecx, 4
add ecx, edi
lea eax, [eax + 1]
mov dword [ebp - 0x18], ecx
mov word [edi + 0xdfe], ax
je 0x1005eebf
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0
test edx, edx
jne 0x1005ee6e
mov dword [eax + 0xc], 0xffffffff
jmp 0x1005eec2
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0xe04]
mov dword [esi + 0xc], eax
mov eax, esi
add dword [edi + 0xe04], edx
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [edi + eax*2]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1005eec2
xor edi, edi
test edx, edx
jle 0x1005eec2
lea eax, [ecx + ecx]
mov dword [ebp - 0x38], eax
mov ecx, eax
mov eax, dword [esi + 0x14]
lea ecx, [ecx + 2]
mov edx, dword [ebp - 0x4c]
mov ax, word [ecx + eax - 2]
mov word [edx + edi*2], ax
inc edi
mov edx, dword [ebp - 0x20]
cmp edi, edx
jl 0x1005eea5
mov ecx, dword [ebp - 0x10]
push edx
push ecx
push esi
call fcn.10060de0
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x38]
mov esi, dword [ebp - 8]
mov edx, eax
mov dword [eax + 8], ecx
add esp, 0xc
mov byte [edx + 0xf], 0
mov dword [eax], ecx
mov byte [eax + 0xf], 0
jmp 0x1005f023
sub ecx, edx
cmp word [edi + 0xdfe], 0x63
mov dword [ebp - 0x10], ecx
jne 0x1005ef05
push edi
call fcn.100630a0
mov ecx, dword [ebp - 0x10]
add esp, 4
cmp ecx, 0x3e7
jle 0x1005ef21
xor eax, eax
mov word [edi + 0xdfe], ax
mov dword [edi + 0xe04], eax
jmp 0x1005efdf
mov eax, dword [edi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x1005ef51
mov esi, dword [ebp - 0x10]
push edi
call fcn.100630a0
mov eax, dword [edi + 0xe04]
add esp, 4
add eax, esi
cmp eax, 0x3e7
jg 0x1005ef33
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
movzx eax, word [edi + 0xdfe]
movsx edx, ax
shl edx, 4
add edx, edi
lea eax, [eax + 1]
mov dword [ebp - 0x18], edx
mov word [edi + 0xdfe], ax
je 0x1005efdf
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1005ef8e
mov dword [eax + 0xc], 0xffffffff
jmp 0x1005efe2
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0xe04]
mov dword [esi + 0xc], eax
mov eax, esi
add dword [edi + 0xe04], ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [edi + eax*2]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1005efe2
xor edi, edi
test ecx, ecx
jle 0x1005efe2
lea eax, [edx + edx]
mov dword [ebp - 0x38], eax
mov edx, eax
mov eax, dword [esi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x4c]
mov ax, word [edx + eax - 2]
mov word [ecx + edi*2], ax
inc edi
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
jl 0x1005efc5
mov edx, dword [ebp - 0x20]
push ecx
push edx
push esi
call fcn.10060de0
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x38]
mov edx, eax
mov dword [eax + 4], ecx
add esp, 0xc
mov byte [edx + 0xf], 0
mov dword [eax], ecx
mov esi, dword [ebp - 8]
mov byte [eax + 0xf], 0
jmp 0x1005f023
movzx eax, al
mov ecx, edi
xor eax, 1
add eax, 0x1000a
push eax
call fcn.100605e0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov cl, byte [ebp - 1]
mov edi, dword [ebp - 0x44]
cmp dword [esi + 0x19b4], edi
jne 0x1005f406
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], eax
test cl, cl
je 0x1005f0b0
cmp byte [ebp - 0x54], al
jne 0x1005f098
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0x2c]
mov edx, edi
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x24]
jne 0x1005f085
cmp byte [ebp - 0x25], 0
je 0x1005f081
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x24]
jne 0x1005f085
add ecx, 2
add edx, 2
cmp byte [ebp - 0x25], 0
jne 0x1005f055
xor ecx, ecx
jmp 0x1005f08a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1005f098
mov eax, dword [eax + 0x24]
dec eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x28], 0
mov eax, dword [ebp + 0x18]
je 0x1005f0a5
test al, 0x20
jne 0x1005f0b3
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
jmp 0x1005f32a
mov eax, dword [ebp + 0x18]
cmp byte [ebp - 0x54], 0
mov edi, dword [ebp - 0x24]
jne 0x1005f0e5
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
lea eax, [eax*4 + 1]
push eax
call fcn.10044900
push 0
push dword [edi + 0x14]
push dword [edi + 0x18]
push dword [edi + 0x20]
call fcn.1003ad80
mov eax, dword [ebp + 0x18]
add esp, 0x10
test eax, 0x1c0
je 0x1005f2df
xor esi, esi
test al, 0x40
je 0x1005f111
push 1
push esi
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005f10e
mov esi, 0x40
xor eax, eax
jmp 0x1005f15e
mov eax, dword [ebp + 0x18]
test al, al
jns 0x1005f14c
push 1
push 3
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005f12f
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x1005f15e
push 1
push 4
call fcn.1003b6b0
add esp, 8
test al, al
je 0x1005f149
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x1005f15e
mov eax, dword [ebp + 0x18]
test eax, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x15
test esi, esi
je 0x1005f2dc
mov dword [ebp - 0xd0], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0xe0], esi
mov esi, dword [edi + 0x14]
mov word [ebp - 0xbf], cx
mov byte [ebp - 0xbd], cl
mov ecx, dword [ebp + 0x18]
lea eax, [esi + eax*2]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp + 0x20]
push eax
push esi
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 0xc0], 0
call fcn.1003aa60
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0xbc], edi
mov ecx, dword [ecx + 0x3c]
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1003aa60
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x40]
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1003aa60
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xe0]
push eax
call dword [ebp + 0x1c]
mov edx, dword [ebp - 0xbc]
add esp, 0x1c
cmp edx, edi
je 0x1005f242
mov ecx, dword [ebp - 0xcc]
lea eax, [edx + ecx]
push eax
push ecx
call fcn.1003a810
mov esi, dword [ebp - 0x24]
add esp, 8
mov dword [esi + 0x38], eax
mov byte [esi + 0xe60], 1
jmp 0x1005f245
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x38]
je 0x1005f265
mov ecx, dword [ebp - 0xcc]
add eax, ecx
push eax
push ecx
call fcn.1003a810
add esp, 8
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x4c]
je 0x1005f285
mov ecx, dword [ebp - 0xcc]
add eax, ecx
push eax
push ecx
call fcn.1003a810
add esp, 8
mov dword [esi + 0x40], eax
cmp byte [ebp - 0xc0], 0
je 0x1005f2dc
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x48]
cmp eax, edx
jle 0x1005f2ae
cmp byte [ebp - 0x68], 0
je 0x1005f2ae
lea ecx, [esi + 0xc]
sub eax, edx
add eax, dword [ecx]
push eax
call fcn.1004b9d0
push 0
push 0
push dword [ebp - 0xcc]
push dword [esi + 0xc]
push dword [esi + 0x14]
call fcn.1003aae0
mov dword [esi + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0xc8]
mov dword [esi + 8], eax
mov dword [esi + 0xe5c], 0xbe99999a
mov eax, dword [ebp + 0x18]
cmp byte [ebp - 0x54], 0
mov edi, dword [ebp - 0x24]
jne 0x1005f324
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005f310
test dl, dl
je 0x1005f30c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005f310
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005f2f0
xor eax, eax
jmp 0x1005f315
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x18]
je 0x1005f324
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], esi
jmp 0x1005f327
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x18], 0
je 0x1005f3e6
cmp dword [ebp - 0x48], ecx
je 0x1005f3c8
cmp byte [ebp - 0x68], 0
je 0x1005f3c8
mov dword [ebp - 0x124], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
lea eax, [ecx + 1]
cmp dword [ebp + 0x10], eax
movlpd qword [ebp - 0x11c], xmm0
cmovge eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x128]
push eax
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0x100], xmm0
mov dword [ebp - 0x128], 0x40000
mov dword [ebp - 0x110], ecx
call dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10c]
add esp, 4
mov eax, dword [ebp - 0x114]
mov dword [ebp + 0xc], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x110], ecx
cmovl ecx, dword [ebp - 0x110]
jmp 0x1005f3cb
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
push edx
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.1003a630
add esp, 0xc
mov byte [ebp - 0x4d], 1
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
jmp 0x1005f409
mov edi, dword [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x44]
je 0x1005f422
cmp dword [esi + 0x19b4], ecx
jne 0x1005f422
call fcn.10036f80
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
test dl, dl
jne 0x1005f4e2
push 1
push ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.10040f30
movss xmm0, dword [esi + 0x1544]
add esp, 8
movss dword [ebp - 0x38], xmm0
mov dword [esp], 0x3f800000
push 7
call fcn.100396d0
movss xmm0, dword [ebp - 0x38]
add esp, 4
movss dword [esp], xmm0
push 1
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call fcn.10040d20
movss xmm1, dword [ebp - 0x7c]
add esp, 0x1c
movss xmm3, dword [ebp - 0x90]
movaps xmm0, xmm1
movss xmm2, dword [ebp - 0x78]
addss xmm0, xmm3
mov edx, dword [ebp - 0x30]
movss dword [ebp - 0xa0], xmm1
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x8c]
addss xmm0, xmm2
movss dword [ebp - 0x94], xmm0
movaps xmm0, xmm2
addss xmm1, dword [esi + 0x153c]
addss xmm0, dword [esi + 0x1540]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm0
jmp 0x1005f539
movss xmm0, dword [ebp - 0x7c]
movss xmm3, dword [ebp - 0x90]
movss xmm2, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x60]
movss dword [ebp - 0xa0], xmm0
addss xmm0, xmm3
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x8c]
addss xmm0, xmm2
movss dword [ebp - 0x94], xmm0
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x3c]
xorps xmm1, xmm1
movss xmm0, dword [eax]
xorps xmm4, xmm4
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x84], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x2c], xmm1
test edi, edi
je 0x1005f578
cmp byte [ebp - 0x54], 0
jne 0x1005f578
mov eax, dword [edi + 0x20]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x44]
cmp dword [esi + 0x19b4], eax
je 0x1005f58d
cmp byte [ebp - 0x4e], 0
jne 0x1005f58d
xor cl, cl
jmp 0x1005f58f
mov cl, 1
mov byte [ebp - 0x11], cl
test edi, edi
je 0x1005f5a2
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1005f5a2
mov al, 1
jmp 0x1005f5a4
xor al, al
mov byte [ebp - 0x19], al
test cl, cl
jne 0x1005f689
test al, al
jne 0x1005f689
test dl, dl
je 0x1005f60d
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x1005f5e2
nop dword [eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1005f5d0
mov al, byte [edi - 1]
dec edi
cmp al, 0xa
je 0x1005f5ef
cmp al, 0xd
je 0x1005f5ef
inc ecx
movd xmm1, ecx
movaps xmm0, xmm3
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x48], xmm0
mulss xmm1, dword [esi + 0x18b4]
movss dword [ebp - 0x2c], xmm1
jmp 0x1005f62c
mov edi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005f615
sub ecx, edx
add edi, ecx
cmp ecx, 0x200000
jge 0x1005ff6e
mov eax, dword [ebp - 0x60]
push ecx
mov dword [esp], 0x3f800000
push 0
mov esi, dword [eax + 0x27c]
call fcn.100396d0
add esp, 8
lea ecx, [ebp - 0xa0]
xor edx, edx
cmp byte [ebp - 0x30], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push edi
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, esi
movss xmm0, dword [eax + 0x18b4]
movss dword [esp], xmm0
push dword [eax + 0x18b0]
call fcn.10046e10
jmp 0x1005feb3
mov ecx, dword [edi + 0x14]
xor edx, edx
mov dword [ebp - 0x10], ecx
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x68], xmm4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0xfffffc18
mov dword [ebp - 0x20], 0xfffffc18
cmp byte [ebp - 0x11], dl
je 0x1005f6d1
mov eax, dword [edi + 0x38]
mov edx, 1
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x19], 0
je 0x1005f6f5
mov ecx, dword [edi + 0x40]
cmp dword [edi + 0x3c], ecx
mov eax, dword [ebp - 0x10]
cmovl ecx, dword [edi + 0x3c]
inc edx
mov dword [ebp - 0x20], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [ebp - 0x5c], eax
mov esi, dword [ebp - 8]
je 0x1005f768
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
movzx edi, word [edi]
nop dword [eax]
cmp di, 0xa
jne 0x1005f74e
inc eax
mov dword [ebp - 0x5c], eax
cmp esi, 0xffffffff
jne 0x1005f73b
cmp ecx, dword [ebp - 0x34]
jb 0x1005f73b
dec edx
mov esi, eax
test edx, edx
jle 0x1005f75f
cmp dword [ebp - 0x20], 0xffffffff
jne 0x1005f74e
cmp ecx, dword [ebp - 0x40]
jb 0x1005f74e
dec edx
mov dword [ebp - 0x20], eax
test edx, edx
jle 0x1005f75f
movzx eax, word [ecx + 2]
add ecx, 2
mov edi, eax
test ax, ax
mov eax, dword [ebp - 0x5c]
jne 0x1005f720
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 8]
push dword [ebp - 0x10]
inc eax
cmp dword [ebp - 0x18], 0xffffffff
push dword [ebp - 0x34]
mov ecx, eax
mov dword [ebp - 0x5c], eax
cmovne ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], ecx
cmove eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
call fcn.1003a610
mov ecx, dword [0x10214570]
mov edx, eax
add esp, 8
xorps xmm6, xmm6
xorps xmm1, xmm1
xorps xmm4, xmm4
mov eax, dword [ecx + 0x18b0]
movss xmm2, dword [ecx + 0x18b4]
divss xmm2, dword [eax + 0x10]
cmp edx, dword [ebp - 0x34]
jae 0x1005f804
mov esi, dword [ebp - 0x34]
mov edi, eax
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005f7d8
maxss xmm1, xmm4
movaps xmm4, xmm6
jmp 0x1005f7fa
cmp ecx, 0xd
je 0x1005f7fa
mov ecx, eax
cmp ecx, dword [edi]
jge 0x1005f7ed
mov eax, dword [edi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005f7f2
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm4, xmm0
cmp edx, esi
jb 0x1005f7c2
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x20], 0
maxss xmm4, xmm1
movd xmm5, dword [ebp - 0x18]
movss xmm0, dword [esi + 0x18b4]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x4c], xmm4
mulss xmm5, xmm0
movss dword [ebp - 0x38], xmm5
jl 0x1005f8de
push dword [ebp - 0x10]
push dword [ebp - 0x40]
call fcn.1003a610
mov ecx, dword [0x10214570]
mov edx, eax
add esp, 8
xorps xmm6, xmm6
xorps xmm1, xmm1
xorps xmm3, xmm3
mov eax, dword [ecx + 0x18b0]
movss xmm2, dword [ecx + 0x18b4]
divss xmm2, dword [eax + 0x10]
cmp edx, dword [ebp - 0x40]
jae 0x1005f8b2
mov esi, dword [ebp - 0x40]
mov edi, eax
nop dword [eax]
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005f886
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1005f8a8
cmp ecx, 0xd
je 0x1005f8a8
mov ecx, eax
cmp ecx, dword [edi]
jge 0x1005f89b
mov eax, dword [edi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005f8a0
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp edx, esi
jb 0x1005f870
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 8]
movd xmm2, dword [ebp - 0x20]
maxss xmm3, xmm1
movss xmm0, dword [esi + 0x18b4]
movss xmm4, dword [ebp - 0x4c]
movss xmm5, dword [ebp - 0x38]
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x68], xmm3
mulss xmm2, xmm0
movss dword [ebp - 0x58], xmm2
mov ecx, dword [ebp - 0x30]
movss xmm2, dword [ebp - 0x90]
test cl, cl
je 0x1005f903
movd xmm1, dword [ebp - 0x5c]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x48], xmm2
mulss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
cmp byte [ebp - 0x11], 0
je 0x1005f9ca
cmp byte [edi + 0xe60], 0
je 0x1005f9ca
test dword [ebp + 0x18], 0x1000
jne 0x1005f967
movss xmm3, dword [edi + 0x34]
movaps xmm0, xmm2
comiss xmm3, xmm4
mulss xmm0, dword [0x10102964]
movaps xmm1, xmm4
jbe 0x1005f948
subss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
jmp 0x1005f955
subss xmm1, xmm2
comiss xmm1, xmm3
jb 0x1005f96e
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x1005f96e
mov dword [edi + 0x34], 0
test cl, cl
je 0x1005f9c3
mov eax, dword [ebp - 0x60]
movaps xmm2, xmm5
subss xmm2, dword [esi + 0x18b4]
movss xmm1, dword [eax + 0x64]
comiss xmm1, xmm2
jbe 0x1005f993
movaps xmm0, xmm6
maxss xmm0, xmm2
jmp 0x1005f9a2
movaps xmm0, xmm5
subss xmm0, dword [ebp - 0x8c]
maxss xmm0, xmm1
subss xmm1, xmm0
movss dword [eax + 0x64], xmm0
addss xmm1, dword [eax + 0xd4]
movss dword [eax + 0xd4], xmm1
movss dword [ebp - 0x84], xmm1
mov byte [edi + 0xe60], 0
cmp byte [ebp - 0x19], 0
movss xmm0, dword [edi + 0x34]
movss dword [ebp - 0x18], xmm0
je 0x1005fc64
mov edx, dword [edi + 0x40]
mov eax, edx
mov ecx, dword [edi + 0x3c]
cmp ecx, edx
mov esi, dword [ebp - 0x10]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0x11], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x10]
lea eax, [eax + edx*2]
mov dword [ebp - 0x10], eax
je 0x1005fa0d
movss xmm0, dword [0x101016ac]
jmp 0x1005fa15
movss xmm0, dword [0x10105448]
push ecx
movss dword [esp], xmm0
push 0x2a
call fcn.100396d0
add esp, 8
mov dword [ebp - 0x40], eax
cmp byte [ebp - 0x30], 0
je 0x1005fa40
xorps xmm0, xmm0
movss dword [ebp - 0xa4], xmm0
movss dword [ebp - 0x34], xmm0
jmp 0x1005fa50
movss xmm0, dword [0x10102980]
movss dword [ebp - 0x34], xmm0
xorps xmm0, xmm0
movss xmm5, dword [ebp - 0x84]
addss xmm5, dword [ebp - 0x58]
movss xmm4, dword [ebp - 0x88]
addss xmm4, dword [ebp - 0x68]
mov edx, dword [ebp - 0x10]
subss xmm5, xmm0
subss xmm4, dword [ebp - 0x18]
movss dword [ebp - 0x68], xmm5
cmp esi, edx
jae 0x1005fc61
movss xmm6, dword [ebp - 0x94]
movss xmm7, dword [ebp - 0x9c]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x40]
nop dword [eax]
movaps xmm0, xmm6
addss xmm0, dword [ecx + 0x18b4]
comiss xmm5, xmm0
ja 0x1005fc5e
comiss xmm7, xmm5
jbe 0x1005fada
cmp esi, edx
jae 0x1005fc3c
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1005fc3c
cmp esi, edx
jb 0x1005fac1
jmp 0x1005fc5e
xorps xmm0, xmm0
mov eax, dword [0x10214570]
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x18b0]
movss xmm2, dword [eax + 0x18b4]
divss xmm2, dword [edx + 0x10]
cmp esi, dword [ebp - 0x10]
jae 0x1005fb44
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1005fb34
cmp ecx, 0xd
je 0x1005fb2d
cmp ecx, dword [edx]
jge 0x1005fb20
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005fb25
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x10]
jb 0x1005fb00
jmp 0x1005fb3e
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 8]
xorps xmm0, xmm0
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x1005fb7d
mov eax, dword [ecx + 0x18b0]
cmp dword [eax], 0x20
jle 0x1005fb65
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1005fb6a
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x101016a8]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0xa4]
addss xmm1, xmm4
subss xmm2, dword [ecx + 0x18b4]
movss xmm0, dword [ebp - 0x34]
addss xmm4, dword [0x101016a0]
movss xmm3, dword [ebp - 0x98]
addss xmm0, xmm5
minss xmm1, xmm3
addss xmm2, xmm5
maxss xmm4, dword [ebp - 0xa0]
minss xmm0, xmm6
movss dword [ebp - 0xb8], xmm1
maxss xmm2, xmm7
movss dword [ebp - 0xc0], xmm4
comiss xmm0, xmm7
movss dword [ebp - 0xbc], xmm2
movss dword [ebp - 0xb4], xmm0
jbe 0x1005fc39
comiss xmm6, xmm2
jbe 0x1005fc39
comiss xmm1, dword [ebp - 0xa0]
jbe 0x1005fc39
comiss xmm3, xmm4
jbe 0x1005fc39
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xb8]
push edi
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x27c]
call fcn.10046b10
movss xmm6, dword [ebp - 0x94]
movss xmm7, dword [ebp - 0x9c]
movss xmm5, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
movss xmm4, dword [ebp - 0x88]
addss xmm5, dword [ecx + 0x18b4]
subss xmm4, dword [ebp - 0x18]
movss dword [ebp - 0x68], xmm5
cmp esi, edx
jb 0x1005faa0
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 8]
mov dword [ebp - 0xa4], eax
test cl, cl
jne 0x1005fc7c
cmp eax, 0x200000
jge 0x1005fd03
mov eax, dword [ebp - 0x60]
push ecx
mov dword [esp], 0x3f800000
push 0
mov esi, dword [eax + 0x27c]
call fcn.100396d0
movss xmm0, dword [ebp - 0x88]
lea ecx, [ebp - 0xa0]
subss xmm0, dword [ebp - 0x18]
add esp, 8
mov edx, eax
xor eax, eax
cmp byte [ebp - 0x30], al
cmovne ecx, eax
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x101016a0]
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
add eax, ecx
movss dword [ebp - 0x68], xmm0
push eax
push ecx
push edx
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, esi
movss xmm0, dword [eax + 0x18b4]
movss dword [esp], xmm0
push dword [eax + 0x18b0]
call fcn.10046e10
cmp byte [ebp - 0x11], 0
je 0x1005feb3
mov esi, dword [ebp - 8]
movss xmm0, dword [esi + 0x20]
addss xmm0, dword [edi + 0xe5c]
movss dword [edi + 0xe5c], xmm0
cmp byte [esi + 0xb6], 0
je 0x1005fd75
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1005fd75
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xa8], xmm0
fld qword [ebp - 0xa8]
fld qword [0x10109458]
call fcn.100e22b0
movss xmm0, dword [0x1010545c]
fstp qword [ebp - 0xa8]
movsd xmm1, qword [ebp - 0xa8]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1005fd75
xor al, al
jmp 0x1005fd77
mov al, 1
movss xmm0, dword [ebp - 0x84]
movss xmm1, dword [ebp - 0x88]
movss xmm5, dword [0x101016ac]
addss xmm0, dword [ebp - 0x38]
addss xmm1, dword [ebp - 0x4c]
subss xmm0, dword [0x101016a0]
subss xmm1, dword [ebp - 0x18]
movss dword [ebp - 0x18], xmm0
movaps xmm2, xmm0
movss dword [ebp - 0x4c], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0xb0], xmm1
movaps xmm3, xmm0
addss xmm4, xmm5
subss xmm2, dword [esi + 0x18b4]
subss xmm3, dword [0x10109450]
movss dword [ebp - 0xa8], xmm4
addss xmm2, dword [0x101016a8]
movss dword [ebp - 0xa4], xmm3
movss dword [ebp - 0xac], xmm2
test al, al
je 0x1005fe91
comiss xmm3, dword [ebp - 0x9c]
jbe 0x1005fe91
movss xmm0, dword [ebp - 0x94]
comiss xmm0, xmm2
jbe 0x1005fe8c
comiss xmm4, dword [ebp - 0xa0]
jbe 0x1005fe8c
movss xmm0, dword [ebp - 0x98]
comiss xmm0, xmm1
jbe 0x1005fe8c
mov eax, dword [ebp - 0x60]
push ecx
mov dword [esp], 0x3f800000
push 0
mov esi, dword [eax + 0x27c]
call fcn.100396d0
movss xmm0, dword [ebp - 0xb0]
add esp, 4
movss dword [ebp - 0x3c], xmm0
mov ecx, esi
movss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0x38], xmm0
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10045d60
movss xmm1, dword [ebp - 0x4c]
movss xmm5, dword [0x101016ac]
mov esi, dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
cmp byte [ebp - 0x54], 0
jne 0x1005feb3
subss xmm0, dword [esi + 0x18b4]
subss xmm1, xmm5
movss dword [esi + 0x2c38], xmm0
movss dword [esi + 0x2c34], xmm1
cmp byte [ebp - 0x30], 0
mov esi, dword [ebp - 8]
je 0x1005ff69
mov ecx, dword [0x10214570]
movss xmm1, dword [ebp - 0x2c]
addss xmm1, dword [esi + 0x18b4]
movss xmm2, dword [ebp - 0x48]
mov eax, dword [ecx + 0x1994]
addss xmm2, dword [0x101016a0]
mov byte [eax + 0x84], 1
mov eax, dword [ecx + 0x1994]
cmp byte [eax + 0x87], 0
jne 0x1005ff5f
movss xmm0, dword [eax + 0xd0]
addss xmm1, dword [eax + 0xd4]
addss xmm2, xmm0
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [eax + 0xd4]
lea eax, [ebp - 0xc0]
push ecx
mov dword [esp], 0
push eax
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0xb8], xmm2
movss dword [ebp - 0xb4], xmm1
call fcn.1003bce0
push 0
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.1003ba00
add esp, 0x14
call fcn.10037e80
call fcn.10038790
movss xmm2, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
test al, al
je 0x1005ff82
call fcn.1003ff30
movss xmm2, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
cmp byte [esi + 0x2c70], 0
je 0x1005ffa8
test al, al
jne 0x1005ffa8
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
call fcn.1003c080
movss xmm2, dword [ebp - 0x78]
add esp, 0xc
movss xmm0, dword [ebp - 0xe8]
comiss xmm0, dword [0x101016a0]
jbe 0x1005ffed
addss xmm2, dword [esi + 0x1540]
movss xmm0, dword [ebp - 0x74]
addss xmm0, dword [esi + 0x1554]
push 1
push 0
push dword [ebp + 8]
movss dword [ebp - 0x38], xmm2
push dword [ebp - 0x38]
movss dword [ebp - 0x3c], xmm0
push dword [ebp - 0x3c]
call fcn.10041490
add esp, 0x14
mov al, byte [ebp - 0x4d]
test al, al
je 0x10060002
push dword [ebp - 0x44]
call fcn.1003c220
mov al, byte [ebp - 0x4d]
add esp, 4
test byte [ebp + 0x18], 0x20
movzx ecx, byte [ebp - 0x28]
movzx eax, al
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret