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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x158
push esi
mov esi, dword [0x100d83e0]
mov dword [ebp - 0xf4], ecx
mov ecx, esi
push edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x198c]
mov dword [ebp - 0x48], edi
cmp byte [edi + 0x7f], 0
jne 0x1004550d
mov ecx, dword [ebx + 0x10]
mov eax, ecx
shr eax, 0xe
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x14
mov dword [ebp - 0x4c], eax
and edx, 0xffffff01
mov eax, ecx
mov dword [ebp - 0x30], edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x88], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x54], eax
mov eax, ecx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x6c], eax
test dl, dl
je 0x10045168
call fcn.1002af10
mov esi, dword [0x100d83e0]
mov ecx, dword [edi + 0x1c0]
xor edx, edx
mov eax, dword [edi + 0x1c8]
mov edi, dword [ebp - 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100200b0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x19ac], eax
jne 0x1004519b
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x100451aa
mov byte [esi + 0x19c0], 1
mov eax, edi
cmp edi, 0xffffffff
jae 0x100451c7
mov cl, byte [eax]
test cl, cl
je 0x100451c7
cmp cl, 0x23
jne 0x100451c1
cmp byte [eax + 1], cl
je 0x100451c7
inc eax
cmp eax, 0xffffffff
jb 0x100451b1
movss xmm1, dword [0x100c4f40]
movss xmm0, dword [esi + 0x18ac]
movss dword [ebp - 0xbc], xmm1
cmp edi, eax
jne 0x100451f0
xorps xmm5, xmm5
movss dword [ebp - 0xc8], xmm5
jmp 0x1004523d
movss xmm3, dword [0x100c4f20]
movaps xmm2, xmm0
push ecx
push eax
push edi
push ecx
mov ecx, dword [esi + 0x18a8]
lea eax, [ebp - 0x7c]
mov dword [esp], 0xbf800000
push eax
call fcn.1003d280
movss xmm0, dword [ebp - 0x7c]
xorps xmm5, xmm5
addss xmm0, dword [0x100c4bc0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0x78]
cmp byte [ebp - 0x30], 0
mov eax, dword [ebx + 0xc]
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x84], xmm2
je 0x1004526c
movss xmm0, dword [esi + 0x18ac]
mulss xmm0, dword [0x100c4c5c]
mov eax, dword [ebp - 8]
mov edi, dword [esi + 0x198c]
movss xmm6, dword [eax + 0x1538]
movss xmm2, dword [edi + 0x16c]
movaps xmm3, xmm6
comiss xmm5, xmm2
addss xmm3, xmm6
addss xmm3, xmm0
jbe 0x1004530b
movss xmm4, dword [edi + 0xc8]
movss xmm1, dword [edi + 0x214]
mov ecx, dword [edi + 0x1bc]
subss xmm4, dword [edi + 0xc]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x100452f2
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x100c4bc8]
maxss xmm2, xmm1
movss xmm1, dword [ebp - 0x74]
cvttss2si eax, xmm2
movaps xmm2, xmm1
xorps xmm0, xmm0
comiss xmm5, xmm2
movd xmm7, eax
xorps xmm4, xmm4
cvtdq2ps xmm7, xmm7
ja 0x1004532d
comiss xmm5, dword [ebp - 0x84]
jbe 0x100453a1
movss xmm5, dword [edi + 0x218]
mov ecx, dword [edi + 0x1bc]
movss xmm1, dword [edi + 0x214]
subss xmm5, dword [edi + 0x10]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x1004538a
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
mov eax, edi
movss xmm0, dword [eax + 0x10]
movss xmm4, dword [eax + 0xc]
addss xmm0, xmm5
addss xmm4, xmm1
xorps xmm5, xmm5
comiss xmm5, xmm2
movss xmm1, dword [0x100c4c40]
jb 0x100453d8
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x100453c1
movaps xmm4, xmm7
movss dword [ebp - 0x74], xmm4
jmp 0x100453dd
subss xmm4, dword [edi + 0xc8]
maxss xmm4, xmm1
addss xmm4, xmm2
movss dword [ebp - 0x74], xmm4
jmp 0x100453dd
movss xmm4, dword [ebp - 0x74]
movss xmm2, dword [ebp - 0x84]
comiss xmm5, xmm2
jb 0x1004541b
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x10045400
movaps xmm2, xmm3
movss dword [ebp - 0x84], xmm2
jmp 0x1004541b
subss xmm0, dword [edi + 0xcc]
maxss xmm0, xmm1
addss xmm0, xmm2
movaps xmm2, xmm0
movss dword [ebp - 0x84], xmm0
mov esi, dword [ebp - 0x48]
movaps xmm0, xmm4
movss xmm7, dword [ebp - 0xc8]
movaps xmm1, xmm2
comiss xmm7, xmm5
mov edi, dword [ebp - 8]
movss xmm3, dword [esi + 0xc8]
movss xmm4, dword [esi + 0xcc]
addss xmm0, xmm3
addss xmm1, xmm4
movss dword [ebp - 0x98], xmm3
movss dword [ebp - 0x94], xmm4
movss dword [ebp - 0x90], xmm0
movss dword [ebp - 0x8c], xmm1
jbe 0x1004547a
movss xmm2, dword [edi + 0x154c]
addss xmm2, xmm7
jmp 0x1004547d
xorps xmm2, xmm2
cmp byte [ebp - 0x30], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [ebp - 0xa8], xmm3
movss dword [ebp - 0xa4], xmm4
mov dword [ebp - 0x5c], esi
movss dword [ebp - 0xa0], xmm0
movss dword [ebp - 0x9c], xmm1
je 0x100455a0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100225c0
add esp, 4
test al, al
jne 0x10045518
movss xmm0, dword [ebp - 0xa0]
lea ecx, [ebp - 0x7c]
subss xmm0, dword [ebp - 0xa8]
movss xmm1, dword [edi + 0x1538]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x9c]
subss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0x78], xmm0
call fcn.100224b0
call fcn.1002b040
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x90]
lea edx, [ebp - 0x7c]
subss xmm0, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x20]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x8c]
subss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x78], xmm0
call fcn.10025840
add esp, 4
test al, al
jne 0x1004556a
call fcn.10025690
call fcn.1002b040
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x100d83e0]
movss xmm0, dword [ebp - 0x74]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [ebp - 0x5c], ecx
subss xmm0, dword [ecx + 0x70]
mov eax, dword [ecx + 0x138]
or dword [ecx + 0x140], eax
movss dword [ebp - 0x74], xmm0
jmp 0x100455dd
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x7c]
movss dword [ebp - 0x78], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x7c], xmm0
call fcn.100224b0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100225c0
add esp, 4
test al, al
je 0x1004550d
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x98]
call fcn.10022760
mov byte [ebp - 0xb], al
test al, al
je 0x100455fc
mov dword [edi + 0x1cd8], 1
cmp byte [ebp - 0x88], 0
je 0x100456a0
mov esi, dword [edi + 0x18a8]
cmp dword [esi + 0x14], 0x2a
jg 0x1004561a
mov edi, dword [esi + 0x2c]
jmp 0x10045639
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10045630
mov edi, dword [esi + 0x2c]
jmp 0x10045639
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 8]
add edx, 0x2c08
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov ecx, dword [esi + 0x18a8]
mov eax, dword [ecx + 0x30]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x34]
mov ecx, edx
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov dword [edx + 0x2c], edi
mov eax, dword [edi + 4]
mov dword [edx + 0xc], eax
call fcn.1002a680
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [ebp - 0x20]
cmp dword [eax + 0x1d98], ecx
lea edi, [eax + 0x1d98]
cmovne edi, edx
test dword [ebx + 0x10], 0x440
mov edx, ecx
mov dword [ebp - 0x3c], edi
sete al
mov ecx, esi
movzx eax, al
push eax
call fcn.100228c0
add esp, 4
mov byte [ebp - 0x35], al
test al, al
je 0x10045737
mov ecx, dword [esi + 0x328]
cmp ecx, dword [esi + 0x330]
jne 0x10045737
mov byte [ebp - 0xd], 1
mov byte [ebp - 0x1a], 0
cmp byte [ebp - 0xb], 0
mov eax, dword [ebp - 8]
je 0x10045707
cmp byte [eax + 0x3d0], 0
mov byte [ebp - 0xc], 1
jne 0x1004570b
mov byte [ebp - 0xc], 0
mov esi, dword [eax + 0x19ac]
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
je 0x10045749
cmp dword [eax + 0x1ab0], ecx
je 0x10045731
cmp dword [eax + 0x1aa4], ecx
jne 0x10045749
cmp dword [eax + 0x1ac4], 3
jne 0x10045749
mov byte [ebp - 1], 1
jmp 0x1004574d
mov byte [ebp - 0xd], 0
test al, al
je 0x100456ed
mov byte [ebp - 0x1a], 1
mov byte [ebp - 0xd], 0
jmp 0x100456f1
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x30]
test al, al
je 0x10045792
test edi, edi
je 0x10045792
test esi, esi
jne 0x10045792
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100c2768
call fcn.100200b0
mov ecx, dword [ebp - 8]
add esp, 4
cmp dword [ecx + 0x19b0], eax
jne 0x1004578f
mov byte [ebp - 9], 1
jmp 0x100457a2
mov eax, dword [ebp - 0x30]
mov byte [ebp - 9], 0
test al, al
je 0x100457cc
mov byte [ebp - 9], 0
test edi, edi
je 0x100457cc
mov eax, dword [ebp - 0x5c]
mov ecx, 0x100c2768
mov edx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100200b0
add esp, 4
mov byte [ebp - 0x25], 1
cmp esi, eax
je 0x100457d0
mov byte [ebp - 0x25], 0
mov al, byte [ebp - 1]
mov byte [ebp - 0xa], 0
cmp esi, dword [ebp - 0x20]
je 0x100457f0
test byte [ebx + 0x10], 0x10
jne 0x100457e6
test al, al
je 0x100457f0
cmp byte [ebp - 0x30], 0
mov byte [ebp - 0x24], 1
je 0x100457f4
mov byte [ebp - 0x24], 0
cmp byte [ebp - 0x35], 0
jne 0x10045822
cmp byte [ebp - 0xc], 0
jne 0x10045822
cmp byte [ebp - 9], 0
jne 0x10045822
test al, al
jne 0x10045822
mov esi, dword [ebp - 8]
cmp byte [esi + 0x3d0], al
je 0x10045a46
mov byte [ebp - 0xa], 1
jmp 0x10045a46
mov dword [ebp - 0x3c], edi
cmp esi, dword [ebp - 0x20]
je 0x10045a0c
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
add edi, 0x1d98
mov dword [ebp - 0x3c], edi
mov dword [edi + 0xe5c], 0xbe99999a
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045850
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1004588d
test eax, eax
je 0x10045876
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1004587e
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10030be0
push esi
push dword [ebp - 0x34]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.10073b90
mov ecx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0xc]
lea edx, [ecx + 1]
mov dword [ebp - 0x18], edx
cmp edx, esi
jle 0x100458ea
test esi, esi
je 0x100458cc
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x100458d1
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10030d70
mov edx, dword [ebp - 0x18]
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 8]
mov dword [eax], edx
lea ecx, [ecx - 1]
mov edx, dword [edi + 0x14]
mov esi, edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10045949
mov edi, eax
cmp byte [edi], 0
je 0x10045940
push 0
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1004593d
cmp eax, 0x10000
jae 0x1004592d
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10045903
jmp 0x10045940
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1004598e
cmp dword [ebp - 0x14], esi
jne 0x1004598e
cmp dword [edi + 0x38], esi
mov ecx, esi
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x38], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
cmovl esi, dword [edi + 0x40]
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x40], esi
jmp 0x100459e2
mov dword [edi], eax
mov dword [edi + 0x34], ecx
mov dword [edi + 0xe54], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x30]
mov al, cl
xor al, 1
mov dword [edi + 0xe4e], 0x630000
mov dword [edi + 0xe58], 0x3e7
mov dword [edi + 0x44], 0x10000
mov byte [edi + 0x48], al
test cl, cl
jne 0x100459e2
mov eax, dword [ebp - 0x24]
mov edx, 1
cmp byte [ebp - 0xd], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x24], eax
test dword [ebx + 0x10], 0x2000
je 0x100459ef
mov byte [edi + 0x44], 1
test cl, cl
jne 0x10045a0c
cmp byte [ebp - 0x1a], cl
jne 0x10045a08
cmp byte [ebp - 0xc], cl
je 0x10045a0c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], cl
je 0x10045a0c
mov byte [ebp - 0x24], 1
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
call fcn.100222e0
call fcn.10022390
mov ecx, edx
call fcn.1002a3c0
cmp byte [ebp - 0x30], 0
mov esi, dword [ebp - 8]
mov dword [esi + 0x19c8], 2
jne 0x10045a46
test byte [ebx + 0x10], 0x80
jne 0x10045a46
mov dword [esi + 0x19c4], 0xc
mov eax, dword [esi + 0x19ac]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jne 0x10045a65
test edi, edi
jne 0x10045a65
call fcn.10022450
mov eax, dword [esi + 0x19ac]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x48], 0
cmp eax, ecx
jne 0x10045e5d
cmp byte [ebp - 0x4c], 0
je 0x10045b60
cmp byte [esi + 0x19bc], 0
jne 0x10045b60
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10045acd
test eax, eax
je 0x10045ab3
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10045abb
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10030d70
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0x18], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10045b29
mov edi, eax
cmp byte [edi], 0
je 0x10045b20
push 0
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10045b1d
cmp eax, 0x10000
jae 0x10045b0e
mov word [esi], ax
add esi, 2
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 8]
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x10045ae4
jmp 0x10045b20
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
cmp dword [edi + 0x38], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x38], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 8], eax
cmovl esi, dword [edi + 0x40]
mov dword [edi + 0x40], esi
mov esi, dword [ebp - 8]
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0xe64], eax
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
cmp byte [esi + 0xe8], 0
mov dword [esi + 0x2ee8], 1
sete al
cmp byte [ebp - 0x30], 0
mov byte [esi + 0x19bd], al
movss xmm7, dword [esi + 0xe0]
subss xmm7, dword [ebp - 0x98]
subss xmm7, dword [esi + 0x1534]
addss xmm7, dword [edi + 0x34]
je 0x10045be3
mov eax, dword [ebp - 0x5c]
movss xmm2, dword [esi + 0xe4]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esi + 0x1538]
jmp 0x10045bf3
movss xmm2, dword [esi + 0x18ac]
mulss xmm2, dword [0x100c4b74]
cmp byte [ebp - 0x24], 0
mov cl, byte [esi + 0xad]
mov byte [ebp - 9], cl
jne 0x10045d6d
mov dl, byte [ebp - 0xb]
test dl, dl
je 0x10045c1f
mov al, byte [esi + 0x3d5]
test cl, cl
jne 0x10045c8a
test al, al
jne 0x10045d6d
cmp byte [esi + 0x3d0], 0
mov al, byte [edi + 0xe61]
je 0x10045cdf
test al, al
jne 0x10045cdf
test dl, dl
je 0x10045d88
cmp byte [edi + 0x48], al
je 0x10045c61
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10043800
movss xmm2, dword [ebp - 0xe4]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10043b10
mov cl, byte [ebp - 9]
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 0x10045d88
test al, al
je 0x10045c1f
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.10043f10
mov cl, byte [ebp - 9]
add esp, 4
mov esi, dword [ebp - 8]
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x10045d88
cmp byte [esi + 0xe8], 0
je 0x10045d88
test al, al
jne 0x10045d88
movss xmm0, dword [esi + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10045d19
movss xmm0, dword [esi + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10045d88
cmp byte [edi + 0x48], 0
je 0x10045d39
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10043800
movss xmm2, dword [ebp - 0xe4]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x10045d47
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10043b10
mov cl, byte [ebp - 9]
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x10045d88
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
cmp byte [edi + 0xe61], 0
je 0x10045da1
cmp byte [esi + 0xe8], 0
jne 0x10045da1
mov byte [edi + 0xe61], 0
add esi, 0x14f0
mov dword [ebp - 0x60], esi
cmp dword [esi], 0
jle 0x10045e5a
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], 0
je 0x10045dc8
cmp byte [eax + 0xfa], 0
je 0x10045e35
test cl, cl
je 0x10045dd5
cmp byte [eax + 0xfb], 0
jne 0x10045e35
cmp byte [ebp - 0x4c], 0
jne 0x10045e35
cmp byte [ebp - 1], 0
jne 0x10045e35
xor esi, esi
mov eax, dword [eax + 0x14f8]
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x10]
sub esp, 8
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x18], eax
call fcn.10044f30
add esp, 8
test al, al
je 0x10045e26
push dword [ebp - 0x18]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [eax + 0x14f0]
jl 0x10045de3
mov esi, dword [ebp - 0x60]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10045e54
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10030d70
mov dword [esi], 0
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
xor cl, cl
mov byte [ebp - 1], cl
cmp dword [esi + 0x19ac], eax
jne 0x100461c1
cmp byte [esi + 0x19bc], cl
jne 0x100461c1
cmp byte [ebp - 0xa], cl
jne 0x100461c1
mov ah, byte [esi + 0xf9]
mov ecx, 0x20000
xor esi, esi
mov byte [ebp - 0x7e], ah
test ah, ah
cmovne esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x40], esi
mov dh, byte [ecx + 0xad]
mov al, byte [ecx + 0xf8]
mov byte [ebp - 0x7d], dh
test dh, dh
je 0x10045ed3
cmp byte [ecx + 0xfb], 0
je 0x10045ec8
test al, al
jne 0x10045ec8
mov ecx, 1
jmp 0x10045eca
xor ecx, ecx
test ecx, ecx
je 0x10045ef1
mov ecx, dword [ebp - 8]
jmp 0x10045ee0
test al, al
je 0x10045ef1
cmp byte [ecx + 0xfb], 0
jne 0x10045ef1
cmp byte [ecx + 0xfa], 0
jne 0x10045ef1
test ah, ah
jne 0x10045ef1
mov dl, 1
jmp 0x10045ef3
xor dl, dl
mov byte [ebp - 9], dl
mov cl, al
test dh, dh
je 0x10045f30
mov esi, dword [ebp - 8]
cmp byte [esi + 0xfb], 0
mov esi, dword [ebp - 0x40]
je 0x10045f30
test ah, ah
je 0x10045f30
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + 0xf8]
test cl, cl
jne 0x10045f30
mov esi, dword [ebp - 8]
cmp byte [esi + 0xfa], cl
mov esi, dword [ebp - 0x40]
jne 0x10045f30
mov byte [ebp - 0x41], 1
jmp 0x10045f3c
mov byte [ebp - 0x41], 0
test dh, dh
je 0x10045ff5
mov esi, dword [ebp - 8]
mov al, byte [esi + 0xfa]
cmp byte [esi + 0xfb], 0
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0xd], al
je 0x10045ffc
test cl, cl
jne 0x10045ffc
test al, al
jne 0x10045ffc
mov byte [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov al, byte [eax + 0xf9]
xor dh, dh
test al, al
je 0x10045f96
test cl, cl
jne 0x10045f96
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xfa], dh
jne 0x10045f96
mov byte [ebp - 0x19], 1
cmp byte [ecx + 0xfb], dh
je 0x10045f9a
mov byte [ebp - 0x19], 0
test dl, dl
je 0x10045fb5
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10045fb5
mov dl, 1
call fcn.10025190
test al, al
jne 0x10045fd2
cmp byte [ebp - 0x19], 0
je 0x10046034
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10046034
mov dl, 1
call fcn.10025190
test al, al
je 0x10046034
cmp byte [ebp - 0x4c], 0
jne 0x10046034
cmp byte [ebp - 0x88], 0
jne 0x10046034
cmp byte [ebp - 0x30], 0
je 0x10045fef
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10046034
mov byte [ebp - 0xb], 1
jmp 0x10046038
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x41], 0
mov byte [ebp - 0xc], 0
test cl, cl
je 0x10045f6c
test ah, ah
mov eax, dword [ebp - 8]
jne 0x10045f6f
cmp byte [eax + 0xfa], 0
jne 0x10045f6f
cmp byte [eax + 0xfb], 0
jne 0x10045f6f
mov dh, 1
jmp 0x10045f96
mov byte [ebp - 0xb], 0
cmp byte [ebp - 9], 0
je 0x10046055
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10046055
mov dl, 1
call fcn.10025190
test al, al
jne 0x10046070
test dh, dh
je 0x1004608d
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1004608d
mov dl, 1
call fcn.10025190
test al, al
je 0x1004608d
cmp byte [ebp - 0x88], 0
jne 0x1004608d
cmp byte [ebp - 0x30], 0
je 0x10046087
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1004608d
mov byte [ebp - 0x65], 1
jmp 0x10046091
mov byte [ebp - 0x65], 0
mov dh, byte [ebp - 9]
test dh, dh
je 0x100460af
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x100460af
mov dl, 1
call fcn.10025190
test al, al
jne 0x100460cc
cmp byte [ebp - 0x19], 0
je 0x100460d6
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x100460d6
mov dl, 1
call fcn.10025190
test al, al
je 0x100460d6
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 0x66], 1
je 0x100460da
mov byte [ebp - 0x66], 0
test dh, dh
je 0x10046109
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10046109
mov dl, 1
call fcn.10025190
test al, al
je 0x10046109
cmp byte [ebp - 0x4c], 0
jne 0x10046109
cmp byte [ebp - 0x54], 0
je 0x10046109
mov byte [ebp - 0x19], dl
jmp 0x10046111
mov byte [ebp - 0x19], 0
test dh, dh
je 0x1004612b
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1004612b
mov dl, 1
call fcn.10025190
test al, al
jne 0x1004614b
cmp byte [ebp - 0x41], 0
je 0x1004615b
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1004615b
mov dl, 1
call fcn.10025190
test al, al
je 0x1004615b
cmp byte [ebp - 0x4c], 0
jne 0x1004615b
cmp byte [ebp - 0x54], 0
je 0x1004615b
mov dh, 1
jmp 0x1004615d
xor dh, dh
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1004622b
mov dl, 1
call fcn.10025190
test al, al
je 0x1004622b
cmp byte [ebp - 0xc], 0
je 0x10046189
mov eax, 0x10004
jmp 0x1004619a
cmp byte [ebp - 0xd], 0
mov eax, 0x10000
mov ecx, 0x1000c
cmovne eax, ecx
or eax, esi
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
mov dword [edi + 0xe5c], 0xbe99999a
add esp, 4
mov byte [edi + 0xe60], 1
mov esi, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov edx, dword [ebx + 0x10]
mov eax, dword [esi + 0x19ac]
cmp eax, dword [ebp - 0x20]
jne 0x10046df5
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x24], eax
test cl, cl
je 0x10046939
cmp byte [ebp - 0x4c], al
jne 0x10046923
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0x34]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046910
test dl, dl
je 0x10046224
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046910
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046200
xor eax, eax
jmp 0x10046915
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x10046286
mov dl, 1
call fcn.10025190
test al, al
je 0x10046286
cmp byte [ebp - 0xc], 0
je 0x1004624f
mov eax, 0x10005
jmp 0x10046260
cmp byte [ebp - 0xd], 0
mov eax, 0x10001
mov ecx, 0x1000d
cmovne eax, ecx
or eax, esi
lea edx, [edi + 0x38]
push eax
mov ecx, edi
call fcn.10043f10
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x100461bb
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x100462fa
mov dl, 1
call fcn.10025190
test al, al
je 0x100462fa
cmp byte [ebp - 0x30], 0
je 0x100462fa
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], 0
je 0x100462ea
mov eax, dword [ebp - 0x5c]
xorps xmm4, xmm4
mov esi, dword [ebp - 8]
movss xmm1, dword [eax + 0x5c]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18ac]
addss xmm1, dword [eax + 0xe4]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [eax + 0x5c], xmm0
movss dword [eax + 0xe4], xmm1
jmp 0x100461be
movzx eax, byte [ebp - 0xc]
lea eax, [eax*4 + 0x10002]
jmp 0x1004619a
mov esi, dword [0x100d83e0]
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x10046398
mov dl, 1
call fcn.10025190
test al, al
je 0x10046398
cmp byte [ebp - 0x30], 0
je 0x10046398
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], 0
je 0x10046385
mov eax, dword [esi + 0x198c]
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 8]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x74]
movss xmm1, dword [eax + 0x30]
movss xmm3, dword [ecx + 0x5c]
movss xmm2, dword [esi + 0x18ac]
addss xmm2, xmm3
addss xmm3, dword [ecx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [ecx + 0x5c], xmm2
movss dword [ecx + 0xe4], xmm3
jmp 0x100461be
movzx eax, byte [ebp - 0xc]
lea eax, [eax*4 + 0x10003]
or eax, dword [ebp - 0x40]
jmp 0x1004619c
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x100463eb
mov dl, 1
call fcn.10025190
test al, al
je 0x100463eb
mov esi, dword [ebp - 8]
xor eax, eax
cmp byte [esi + 0xf8], al
setne al
lea eax, [eax*2 + 0x10004]
or eax, dword [ebp - 0x40]
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x100461be
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x10046419
mov dl, 1
call fcn.10025190
test al, al
je 0x10046419
mov esi, dword [ebp - 8]
xor eax, eax
cmp byte [esi + 0xf8], al
setne al
lea eax, [eax*2 + 0x10005]
jmp 0x100463c4
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10046445
mov dl, 1
call fcn.10025190
test al, al
je 0x10046445
cmp byte [ebp - 0x4c], 0
jne 0x10046445
mov ecx, dword [ebp - 0x40]
or ecx, 0x10008
push ecx
jmp 0x1004619d
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x10046507
mov dl, 1
call fcn.10025190
test al, al
je 0x10046507
cmp byte [ebp - 0x4c], 0
jne 0x10046507
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1004649f
cmp byte [ebp - 0xd], 0
je 0x100464b1
push 0x3000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
or ecx, 0x10009
push ecx
jmp 0x100463c8
cmp byte [ebp - 0x7d], 0
je 0x1004649f
mov esi, dword [ebp - 8]
cmp byte [esi + 0xfb], 0
je 0x100464a2
cmp byte [esi + 0xfa], 0
jne 0x100464a2
cmp byte [esi + 0xf8], 0
jne 0x100464a2
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043f10
mov ecx, dword [ebp - 0x40]
add esp, 4
or ecx, 0x10009
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
push ecx
jmp 0x100463c8
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1004657e
mov dl, 1
call fcn.10025190
test al, al
je 0x1004657e
mov edx, dword [ebx + 0x10]
mov eax, edx
mov esi, dword [ebp - 8]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x30], 0
je 0x1004653f
mov cl, byte [esi + 0xf8]
test al, al
je 0x1004654f
test cl, cl
jne 0x10046553
mov byte [ebp - 0xa], 1
mov byte [ebp - 0x1a], 1
mov cl, byte [ebp - 1]
jmp 0x100461c4
test cl, cl
jne 0x1004653f
cmp byte [ebp - 0x4c], 0
jne 0x10046547
mov dword [ebp - 0x18], 0xa
sub esp, 8
lea ecx, [ebp - 0x18]
call fcn.10044f30
add esp, 8
test al, al
je 0x100461be
push dword [ebp - 0x18]
jmp 0x100463c8
test dword [ebx + 0x10], 0x400
je 0x100465cb
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100465cb
mov dl, 1
call fcn.10025190
mov esi, dword [ebp - 8]
test al, al
je 0x100465ce
cmp byte [esi + 0xf8], 0
jne 0x100465ce
cmp byte [ebp - 0x7e], 0
jne 0x100465ce
cmp byte [esi + 0xfa], 0
jne 0x100465ce
cmp byte [ebp - 0x4c], 0
jne 0x100465ce
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x18], 9
jmp 0x10046560
mov esi, dword [ebp - 8]
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x100465ef
mov dl, 1
call fcn.10025190
test al, al
je 0x100465ef
mov cl, dl
mov byte [ebp - 0xa], cl
jmp 0x100461c1
mov al, byte [ebp - 0x19]
test al, al
jne 0x100468ec
test dh, dh
jne 0x100468ec
cmp byte [ebp - 9], dh
je 0x1004663c
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1004663c
mov dl, 1
call fcn.10025190
test al, al
je 0x1004663c
mov eax, dword [edi + 4]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], dh
mov byte [edi + 0xe60], dl
jmp 0x100461be
mov al, byte [ebp - 0xb]
test al, al
jne 0x100467e2
cmp byte [ebp - 0x65], al
jne 0x100467e2
cmp byte [ebp - 0x66], al
je 0x100461be
mov esi, dword [0x100d83e0]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x1004667f
push dword [esi + 0xd0]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x10046684
jmp 0x100461bb
mov esi, 0x100bc317
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046690
mov eax, dword [0x100d83e0]
sub ecx, edx
test eax, eax
je 0x100466a8
inc dword [eax + 0x36c]
push dword [0x100d83dc]
lea eax, [ecx*2 + 2]
push eax
call fcn.1001f8e0
mov ecx, eax
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
cmp byte [esi], al
je 0x10046721
xor edi, edi
nop
push 0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.100203e0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10046715
cmp eax, 0x10000
jae 0x10046710
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x2c]
sub esp, 8
call fcn.10044f30
add esp, 8
test al, al
je 0x10046710
mov ecx, dword [ebp - 0x14]
mov ax, word [ebp - 0x2c]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100466d0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x100467bb
mov edx, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x10046755
cmp ecx, eax
jle 0x10046745
mov dword [edi + 0x3c], eax
mov ecx, eax
cmp edx, eax
jle 0x1004674e
mov dword [edi + 0x40], eax
mov edx, eax
cmp ecx, edx
jne 0x10046755
mov dword [edi + 0x38], ecx
cmp dword [edi + 0x38], eax
jle 0x1004675d
mov dword [edi + 0x38], eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043e80
push dword [ebp - 0x24]
mov edx, dword [edi + 0x38]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.100439e0
add esp, 8
test al, al
je 0x1004679d
push dword [ebp - 0x24]
mov edx, dword [edi + 0x38]
lea ecx, [edi + 0x50]
push 0
call fcn.10044c10
mov eax, dword [ebp - 0x24]
add esp, 8
add dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x100467b1
movzx eax, word [edi + 0xe4e]
test ax, ax
je 0x100467b1
dec eax
mov word [edi + 0xe4e], ax
mov ecx, dword [ebp - 0x14]
mov byte [edi + 0xe60], 1
test ecx, ecx
je 0x100467ce
mov eax, dword [0x100d83e0]
test eax, eax
je 0x100467ce
dec dword [eax + 0x36c]
push dword [0x100d83dc]
push ecx
call fcn.1001f8f0
add esp, 8
jmp 0x100461bb
cmp dword [esi + 0xcc], 0
je 0x100468a2
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
je 0x10046803
mov edx, ecx
cmovl ecx, eax
cmovge edx, eax
jmp 0x10046808
mov edx, dword [edi + 4]
xor ecx, ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], edx
lea edx, [eax + edx*2]
lea ecx, [eax + ecx*2]
call fcn.100206b0
mov ecx, dword [0x100d83e0]
inc eax
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x10046830
inc dword [ecx + 0x36c]
push dword [0x100d83dc]
push eax
call fcn.1001f8e0
mov esi, dword [edi + 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x54]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10020580
mov eax, dword [0x100d83e0]
add esp, 0x10
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x1004687f
push esi
push dword [eax + 0xd0]
call ecx
mov eax, dword [0x100d83e0]
add esp, 8
test esi, esi
je 0x1004688d
test eax, eax
je 0x1004688d
dec dword [eax + 0x36c]
push dword [0x100d83dc]
push esi
call fcn.1001f8f0
mov al, byte [ebp - 0xb]
add esp, 8
mov esi, dword [ebp - 8]
test al, al
je 0x100461be
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x100468c6
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 + 0xe60], 1
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x100461bb
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.10043e80
mov byte [edi + 0x47], 0
jmp 0x100461bb
movzx eax, al
lea edx, [edi + 0x38]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.10043f10
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
jmp 0x100461a7
sbb eax, eax
or eax, 1
test eax, eax
je 0x10046923
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x1a], 0
je 0x10046cf3
mov edx, dword [ebx + 0x10]
test dl, 0x20
je 0x10046cf3
cmp byte [ebp - 0x4c], 0
jne 0x10046997
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x10046980
test eax, eax
je 0x10046966
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1004696e
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10030be0
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10020580
mov edx, dword [ebx + 0x10]
add esp, 8
test edx, 0x1c0
je 0x10046cb4
mov esi, 0x15
test dl, 0x40
je 0x100469ce
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100469ce
mov dl, 1
call fcn.10025190
test al, al
je 0x100469cb
lea eax, [esi + 0x2b]
xor esi, esi
jmp 0x10046a2b
mov edx, dword [ebx + 0x10]
test dl, dl
jns 0x10046a1a
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x100469f6
mov dl, 1
call fcn.10025190
test al, al
je 0x100469f3
mov eax, 0x80
lea esi, [eax - 0x7d]
jmp 0x10046a2b
mov edx, dword [ebx + 0x10]
mov eax, dword [0x100d83e0]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10046a1a
mov dl, 1
call fcn.10025190
test al, al
je 0x10046a17
mov eax, 0x80
lea esi, [eax - 0x7c]
jmp 0x10046a2b
mov edx, dword [ebx + 0x10]
test edx, 0x100
je 0x10046cb4
mov eax, 0x100
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x124], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x118], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x38]
mov word [ebp - 0x107], cx
mov byte [ebp - 0x105], cl
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x108], cl
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 0x11c], 0
call fcn.100206b0
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov dword [ebp - 0x104], edi
mov ecx, dword [ecx + 0x3c]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.100206b0
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x40]
lea edx, [esi + edx*2]
call fcn.100206b0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x128]
push eax
xor eax, eax
call eax
mov edx, dword [ebp - 0x104]
add esp, 4
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x58], ecx
cmp edx, edi
je 0x10046b3b
lea edi, [edx + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10046afd
cmp esi, edi
jae 0x10046b29
cmp byte [esi], 0
je 0x10046b29
push edi
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10046b26
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10046af5
inc eax
jmp 0x10046af2
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
mov dword [esi + 0x38], eax
mov byte [esi + 0xe60], 1
jmp 0x10046b3e
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x18]
je 0x10046b90
lea esi, [eax + ecx]
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10046b5b
cmp edi, esi
jae 0x10046b87
cmp byte [edi], 0
je 0x10046b87
push esi
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10046b84
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10046b53
inc eax
jmp 0x10046b50
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x54]
je 0x10046bdf
lea esi, [eax + ecx]
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10046bad
cmp edi, esi
jae 0x10046bd9
cmp byte [edi], 0
je 0x10046bd9
push esi
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10046bd6
cmp eax, 0x10000
mov eax, dword [ebp - 0x14]
jae 0x10046ba5
inc eax
jmp 0x10046ba2
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x40], eax
cmp byte [ebp - 0x108], 0
je 0x10046cb4
mov edi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x48]
cmp edi, ecx
jle 0x10046c41
cmp byte [ebp - 0x6c], 0
je 0x10046c41
mov eax, dword [esi + 0x10]
sub edi, ecx
add edi, dword [esi + 0xc]
cmp edi, eax
jle 0x10046c3e
test eax, eax
je 0x10046c1e
cdq
sub eax, edx
lea edx, [esi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10046c26
mov ecx, 8
lea edx, [esi + 0xc]
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10030d70
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x58], eax
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0x14]
mov edi, ecx
mov eax, dword [esi + 0xc]
dec eax
mov dword [ebp - 0x54], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x18], eax
cmp ecx, eax
jae 0x10046c95
mov esi, dword [ebp - 0x58]
nop word [eax + eax]
cmp byte [esi], 0
je 0x10046c8f
push 0
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.100203e0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10046c8f
cmp eax, 0x10000
jae 0x10046c8a
mov word [edi], ax
add edi, 2
cmp edi, dword [ebp - 0x18]
jb 0x10046c60
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov word [edi], ax
sub edi, ecx
mov eax, dword [ebp - 0x110]
sar edi, 1
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xe5c], 0xbe99999a
cmp byte [ebp - 0x4c], 0
mov edi, dword [ebp - 0x3c]
jne 0x10046cf3
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10046ce5
test dl, dl
je 0x10046ce1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10046ce5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10046cc5
xor eax, eax
jmp 0x10046cea
sbb eax, eax
or eax, 1
test eax, eax
je 0x10046cf3
mov ecx, dword [edi + 8]
jmp 0x10046cf9
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x10046dce
cmp dword [ebp - 0x48], ecx
je 0x10046d9a
cmp byte [ebp - 0x6c], 0
je 0x10046d9a
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x144], eax
lea eax, [ecx + 1]
cmp dword [ebx + 8], eax
movlpd qword [ebp - 0x14c], xmm0
cmovge eax, dword [ebx + 8]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x158]
push eax
xor eax, eax
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
mov dword [ebp - 0x158], 0x40000
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x150], 0
call eax
mov edx, dword [ebp - 0x13c]
add esp, 4
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x34], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x140], ecx
cmovl ecx, dword [ebp - 0x140]
jmp 0x10046d9d
mov edx, dword [ebx + 8]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 8], edx
cmp edx, 1
jb 0x10046dca
jbe 0x10046dc2
lea eax, [edx - 1]
push eax
push esi
push dword [ebp - 0x34]
call fcn.1007a0b0
mov edx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov byte [edx + eax - 1], 0
mov byte [ebp - 0x35], 1
mov esi, dword [ebp - 8]
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov eax, dword [esi + 0x19ac]
cmp byte [ebp - 0xa], 0
mov ecx, dword [ebp - 0x20]
je 0x10046e0a
cmp eax, ecx
jne 0x10046e0a
call fcn.10022450
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
test dl, dl
jne 0x10046ed5
mov edx, ecx
lea ecx, [ebp - 0x98]
push 1
call fcn.100214c0
movss xmm1, dword [0x100c4bc8]
add esp, 4
mov ecx, 7
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
call fcn.10020880
movss xmm2, dword [esi + 0x153c]
mov dl, 1
mov ecx, eax
call fcn.10020fa0
movss xmm0, dword [ebp - 0x98]
add esp, 0x10
movss xmm2, dword [ebp - 0x74]
movss xmm3, dword [ebp - 0x94]
movaps xmm6, xmm2
mov edx, dword [ebp - 0x30]
addss xmm6, xmm0
movss dword [ebp - 0xb8], xmm0
movaps xmm5, xmm3
addss xmm0, dword [esi + 0x1534]
addss xmm5, dword [ebp - 0x84]
movss dword [ebp - 0xb4], xmm3
movss dword [ebp - 0xb0], xmm6
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [esi + 0x1538]
addss xmm0, xmm3
movss dword [ebp - 0xac], xmm5
movss dword [ebp - 0x9c], xmm0
jmp 0x10046f34
movss xmm5, dword [ebp - 0x94]
movss xmm2, dword [ebp - 0x74]
movss xmm0, dword [ebp - 0x98]
movaps xmm6, xmm2
mov ecx, dword [ebp - 0x5c]
addss xmm6, xmm0
movss dword [ebp - 0xb4], xmm5
addss xmm5, dword [ebp - 0x84]
movss dword [ebp - 0xb8], xmm0
movss dword [ebp - 0xb0], xmm6
movss dword [ebp - 0xac], xmm5
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0xcc]
mov dword [ebp - 0x9c], eax
movss dword [ebp - 0x50], xmm5
lea eax, [ebp - 0xa0]
movss xmm0, dword [eax]
xorps xmm1, xmm1
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x70], xmm0
movss dword [ebp - 0x78], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x18], xmm1
test edi, edi
je 0x10046f7f
cmp byte [ebp - 0x4c], 0
jne 0x10046f7f
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
cmp dword [esi + 0x19ac], eax
je 0x10046f94
cmp byte [ebp - 0x25], 0
jne 0x10046f94
xor cl, cl
jmp 0x10046f96
mov cl, 1
mov byte [ebp - 0xa], cl
test edi, edi
je 0x10046fa9
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10046fa9
mov al, 1
jmp 0x10046fab
xor al, al
mov byte [ebp - 0xb], al
test cl, cl
jne 0x10047080
test al, al
jne 0x10047080
mov edi, dword [ebp - 0x34]
test dl, dl
je 0x10047014
mov al, byte [edi]
lea edx, [edi + 1]
xor ecx, ecx
mov byte [ebp - 0x25], al
test al, al
je 0x10046fe9
cmp byte [ebp - 0x25], 0xa
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov al, byte [edx]
inc edx
mov byte [ebp - 0x25], al
test al, al
jne 0x10046fd3
mov al, byte [edx - 1]
dec edx
cmp al, 0xa
je 0x10046ff6
cmp al, 0xd
je 0x10046ff6
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x18ac]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x54], xmm0
jmp 0x10047038
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047020
sub ecx, edx
lea edx, [ecx + edi]
cmp ecx, 0x200000
jge 0x10047a62
movss xmm1, dword [0x100c4bc8]
lea eax, [ebp - 0xb8]
xor ecx, ecx
cmp byte [ebp - 0x30], cl
cmovne eax, ecx
push eax
push ecx
mov dword [esp], ecx
push edx
push edi
call fcn.10020880
movss xmm2, dword [esi + 0x18ac]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x5c]
push dword [esi + 0x18a8]
mov ecx, dword [eax + 0x274]
call fcn.1003a9c0
jmp 0x100479a5
mov ecx, dword [edi + 0x14]
mov esi, 0xfffffc18
xor edx, edx
mov dword [ebp - 0x20], ecx
xorps xmm7, xmm7
movss dword [ebp - 0x60], xmm1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x58], esi
cmp byte [ebp - 0xa], dl
je 0x100470c0
mov eax, dword [edi + 0x38]
or esi, 0xffffffff
mov dword [ebp - 0x6c], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x48], eax
lea edx, [esi + 2]
cmp byte [ebp - 0xb], 0
je 0x100470e4
mov ecx, dword [edi + 0x40]
cmp dword [edi + 0x3c], ecx
mov eax, dword [ebp - 0x20]
cmovl ecx, dword [edi + 0x3c]
inc edx
mov dword [ebp - 0x58], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test ax, ax
je 0x10047149
mov edi, dword [ebp - 0x6c]
mov esi, eax
cmp si, 0xa
jne 0x10047132
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp edi, 0xffffffff
jne 0x1004711f
cmp ecx, dword [ebp - 0x48]
jb 0x1004711f
dec edx
mov edi, eax
test edx, edx
jle 0x10047140
cmp dword [ebp - 0x58], 0xffffffff
jne 0x10047132
cmp ecx, dword [ebp - 0x2c]
jb 0x10047132
dec edx
mov dword [ebp - 0x58], eax
test edx, edx
jle 0x10047140
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10047101
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0x14], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x58], ecx
mov ecx, edx
cmp edx, esi
jbe 0x10047181
cmp word [ecx - 2], 0xa
je 0x10047181
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10047173
mov eax, dword [0x100d83e0]
movaps xmm2, xmm1
movaps xmm5, xmm1
mov esi, dword [eax + 0x18a8]
movss xmm4, dword [eax + 0x18ac]
divss xmm4, dword [esi + 0x10]
cmp ecx, edx
jae 0x100471eb
mov edi, dword [ebp - 0x48]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x100471bc
maxss xmm2, xmm5
movaps xmm5, xmm1
jmp 0x100471e4
cmp edx, 0xd
je 0x100471e4
mov edx, eax
cmp edx, dword [esi]
jge 0x100471d1
mov eax, dword [esi + 8]
movss xmm1, dword [eax + edx*4]
jmp 0x100471d6
movss xmm1, dword [esi + 0xc]
movaps xmm0, xmm4
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm5, xmm0
cmp ecx, edi
jb 0x100471a6
mov edi, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 0
maxss xmm5, xmm2
movd xmm6, dword [ebp - 0x6c]
mov ecx, dword [ebp - 8]
cvtdq2ps xmm6, xmm6
movss xmm3, dword [ecx + 0x18ac]
mulss xmm6, xmm3
movss dword [ebp - 0xc4], xmm5
movss dword [ebp - 0xf8], xmm6
jl 0x100472ad
mov edx, dword [ebp - 0x2c]
mov ecx, edx
cmp edx, dword [ebp - 0x20]
jbe 0x10047241
mov edi, dword [ebp - 0x20]
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x1004723e
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x10047230
mov edi, dword [ebp - 0x3c]
movaps xmm2, xmm1
movaps xmm7, xmm1
cmp ecx, edx
jae 0x10047295
mov edi, dword [ebp - 0x2c]
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10047266
maxss xmm2, xmm7
movaps xmm7, xmm1
jmp 0x1004728e
cmp edx, 0xd
je 0x1004728e
mov edx, eax
cmp edx, dword [esi]
jge 0x1004727b
mov eax, dword [esi + 8]
movss xmm1, dword [eax + edx*4]
jmp 0x10047280
movss xmm1, dword [esi + 0xc]
movaps xmm0, xmm4
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm7, xmm0
cmp ecx, edi
jb 0x10047250
mov edi, dword [ebp - 0x3c]
movd xmm0, dword [ebp - 0x58]
maxss xmm7, xmm2
mov ecx, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
movss dword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x30]
test dl, dl
je 0x100472d4
movd xmm0, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
movss xmm3, dword [ebp - 0x74]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x54], xmm0
jmp 0x100472d9
movss xmm3, dword [ebp - 0x74]
cmp byte [ebp - 0xa], 0
je 0x100473bc
cmp byte [edi + 0xe60], 0
je 0x100473bc
test dword [ebx + 0x10], 0x1000
jne 0x1004733d
movss xmm2, dword [edi + 0x34]
movaps xmm0, xmm3
comiss xmm2, xmm5
mulss xmm0, dword [0x100c4b58]
movaps xmm1, xmm5
jbe 0x1004731e
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x1004732b
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x10047344
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x10047344
mov dword [edi + 0x34], 0
test dl, dl
je 0x100473b5
mov eax, dword [ebp - 0x5c]
movaps xmm1, xmm6
subss xmm1, dword [ecx + 0x18ac]
movss xmm2, dword [eax + 0x5c]
comiss xmm2, xmm1
jbe 0x10047369
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x10047378
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0x84]
maxss xmm0, xmm2
subss xmm2, xmm0
movss dword [eax + 0x5c], xmm0
addss xmm2, dword [eax + 0xcc]
movss dword [eax + 0xcc], xmm2
movss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xb0]
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x24], xmm0
mov byte [edi + 0xe60], 0
cmp byte [ebp - 0xb], 0
movss xmm4, dword [edi + 0x34]
movss dword [ebp - 0x14], xmm4
je 0x10047670
mov edx, dword [edi + 0x40]
mov eax, edx
mov ecx, dword [edi + 0x3c]
cmp ecx, edx
mov esi, dword [ebp - 0x20]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xa], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*2]
mov dword [ebp - 0x2c], eax
je 0x100473ff
movss xmm1, dword [0x100c4bc8]
jmp 0x10047407
movss xmm1, dword [0x100c4b78]
mov ecx, 0x2a
call fcn.10020880
cmp byte [ebp - 0x30], 0
xorps xmm5, xmm5
mov dword [ebp - 0x6c], eax
je 0x1004742c
movss dword [ebp - 0xbc], xmm5
movss dword [ebp - 0x48], xmm5
jmp 0x10047439
movss xmm0, dword [0x100c4c04]
movss dword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x40]
movss xmm4, dword [ecx]
mov ecx, dword [ebp - 0x2c]
addss xmm4, xmm7
movss xmm7, dword [ebp - 0x70]
movaps xmm6, xmm7
addss xmm6, dword [ebp - 0x60]
subss xmm4, dword [ebp - 0x14]
subss xmm6, xmm5
movss dword [ebp - 0x60], xmm6
cmp esi, ecx
jae 0x100476b9
mov eax, dword [ebp - 8]
movss xmm3, dword [ebp - 0x50]
mov edi, dword [ebp - 0x6c]
mov edx, dword [ebp - 8]
movss xmm7, dword [eax + 0x18ac]
mov eax, dword [ebp - 0x40]
movaps xmm1, xmm7
movaps xmm0, xmm3
addss xmm0, xmm1
comiss xmm6, xmm0
ja 0x10047668
movss xmm0, dword [ebp - 0xb4]
comiss xmm0, xmm6
jbe 0x100474c8
cmp esi, ecx
jae 0x10047643
nop dword [eax + eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x10047640
cmp esi, ecx
jb 0x100474b0
jmp 0x10047640
mov eax, dword [0x100d83e0]
xorps xmm1, xmm1
xorps xmm5, xmm5
xorps xmm2, xmm2
mov edx, dword [eax + 0x18a8]
movss xmm3, dword [eax + 0x18ac]
divss xmm3, dword [edx + 0x10]
cmp esi, ecx
jae 0x10047539
nop dword [eax]
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x10047529
cmp ecx, 0xd
je 0x10047520
cmp ecx, dword [edx]
jge 0x10047510
mov eax, dword [edx + 8]
movss xmm1, dword [eax + ecx*4]
jmp 0x10047515
movss xmm1, dword [edx + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
mov ecx, dword [ebp - 0x2c]
cmp esi, ecx
jb 0x100474f0
jmp 0x10047536
mov ecx, dword [ebp - 0x2c]
xorps xmm5, xmm5
maxss xmm5, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
maxss xmm2, xmm5
comiss xmm1, xmm2
jb 0x10047575
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18a8]
cmp dword [eax], 0x20
jle 0x1004755d
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10047562
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100c4b74]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm0, dword [ebp - 0x48]
addss xmm2, xmm4
movss xmm3, dword [ebp - 0x50]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0xbc]
addss xmm0, xmm6
movss xmm5, dword [ebp - 0x24]
subss xmm1, xmm7
minss xmm2, xmm5
maxss xmm4, dword [ebp - 0xb8]
minss xmm0, xmm3
addss xmm1, xmm6
movss dword [ebp - 0xe0], xmm2
movss dword [ebp - 0xe8], xmm4
comiss xmm0, dword [ebp - 0xb4]
maxss xmm1, dword [ebp - 0xb4]
movss dword [ebp - 0xdc], xmm0
movss dword [ebp - 0xe4], xmm1
jbe 0x1004763d
comiss xmm3, xmm1
jbe 0x1004763d
comiss xmm2, dword [ebp - 0xb8]
jbe 0x1004763d
comiss xmm5, xmm4
jbe 0x1004763d
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xe0]
push edi
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x274]
call fcn.1003a5d0
movss xmm3, dword [ebp - 0xac]
movss xmm0, dword [ebp - 0xb0]
movss xmm6, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x24], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
movss xmm7, dword [edx + 0x18ac]
movss xmm4, dword [eax]
addss xmm6, xmm7
movaps xmm1, xmm7
subss xmm4, dword [ebp - 0x14]
movss dword [ebp - 0x60], xmm6
cmp esi, ecx
jb 0x10047486
movss xmm4, dword [ebp - 0x14]
mov edi, dword [ebp - 0x3c]
movss xmm7, dword [ebp - 0x70]
xorps xmm5, xmm5
cmp byte [ebp - 0x30], 0
mov edx, dword [edi + 8]
jne 0x1004768d
cmp edx, 0x200000
jge 0x100477f6
mov eax, dword [0x100d83e0]
movups xmm1, xmmword [eax + 0x15a8]
comiss xmm5, xmm1
movaps xmm2, xmm1
movaps xmmword [ebp - 0xf0], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1500]
jbe 0x100476c0
xorps xmm0, xmm0
jmp 0x100476cc
movss xmm4, dword [ebp - 0x14]
jmp 0x10047678
movss xmm0, dword [0x100c4bc8]
minss xmm0, xmm1
movss xmm3, dword [0x100c4da0]
movss xmm6, dword [0x100c4b74]
movss xmm1, dword [ebp - 0xec]
comiss xmm5, xmm1
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100476fa
xorps xmm0, xmm0
jmp 0x10047706
movss xmm0, dword [0x100c4bc8]
minss xmm0, xmm1
movss xmm1, dword [ebp - 0xe8]
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm1
jbe 0x10047729
xorps xmm0, xmm0
jmp 0x10047735
movss xmm0, dword [0x100c4bc8]
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10047750
xorps xmm1, xmm1
jmp 0x1004775c
movss xmm1, dword [0x100c4bc8]
minss xmm1, xmm2
cmp byte [ebp - 0x30], 0
lea eax, [ebp - 0xb8]
mov esi, dword [ebp - 0x40]
mulss xmm1, xmm3
mov dword [ebp - 0xbc], 0
cmovne eax, dword [ebp - 0xbc]
movss xmm0, dword [esi]
push eax
mov eax, dword [ebp - 0x34]
addss xmm1, xmm6
push ecx
add eax, edx
mov dword [esp], 0
push eax
push dword [ebp - 0x34]
cvttss2si eax, xmm1
subss xmm0, xmm4
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 8]
movss dword [ebp - 0x64], xmm0
movaps xmm0, xmm7
subss xmm0, xmm5
push dword [eax + 0x18a8]
movss xmm2, dword [eax + 0x18ac]
mov eax, dword [ebp - 0x5c]
movss dword [ebp - 0x60], xmm0
mov ecx, dword [eax + 0x274]
call fcn.1003a9c0
movss xmm0, dword [ebp - 0xac]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xb0]
movss dword [ebp - 0x24], xmm0
jmp 0x100477f9
mov esi, dword [ebp - 0x40]
cmp byte [ebp - 0xa], 0
je 0x1004799f
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 0xe5c]
movss dword [edi + 0xe5c], xmm0
cmp byte [eax + 0xae], 0
je 0x1004786b
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x1004786b
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xc0], xmm0
fld qword [ebp - 0xc0]
fld qword [0x100c4bf8]
call fcn.100a7760
movss xmm0, dword [0x100c4ba0]
fstp qword [ebp - 0xc0]
movsd xmm1, qword [ebp - 0xc0]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1004786b
xor al, al
jmp 0x1004786d
mov al, 1
movss xmm3, dword [ebp - 0x70]
movss xmm4, dword [esi]
mov esi, dword [ebp - 8]
movss xmm5, dword [0x100c4bc8]
addss xmm3, dword [ebp - 0xf8]
addss xmm4, dword [ebp - 0xc4]
subss xmm3, dword [0x100c4ac8]
subss xmm4, dword [ebp - 0x14]
movss dword [ebp - 0x70], xmm3
movaps xmm0, xmm3
movss dword [ebp - 0xc4], xmm4
movaps xmm2, xmm4
movss dword [ebp - 0xe8], xmm4
movaps xmm1, xmm3
addss xmm2, xmm5
subss xmm0, dword [esi + 0x18ac]
subss xmm1, dword [0x100c4be0]
movss dword [ebp - 0xe0], xmm2
addss xmm0, dword [0x100c4b74]
movss dword [ebp - 0xdc], xmm1
movss dword [ebp - 0xe4], xmm0
test al, al
je 0x10047978
comiss xmm1, dword [ebp - 0xb4]
jbe 0x10047978
movss xmm3, dword [ebp - 0x50]
comiss xmm3, xmm0
jbe 0x10047973
comiss xmm2, dword [ebp - 0xb8]
jbe 0x10047973
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm4
jbe 0x10047973
sub esp, 8
movss dword [ebp - 0x9c], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0xa0], xmm4
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10020880
add esp, 4
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x274]
call fcn.1003a3d0
movss xmm4, dword [ebp - 0xc4]
movss xmm5, dword [0x100c4bc8]
movss xmm3, dword [ebp - 0x70]
cmp byte [ebp - 0x4c], 0
mov edi, dword [ebp - 0x34]
jne 0x100479a5
subss xmm3, dword [esi + 0x18ac]
subss xmm4, xmm5
movss dword [esi + 0x2ca4], xmm3
movss dword [esi + 0x2ca0], xmm4
jmp 0x100479a5
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x34]
cmp byte [ebp - 0x30], 0
je 0x10047a62
mov ecx, dword [0x100d83e0]
movss xmm2, dword [esi + 0x18ac]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x10047a58
movss xmm3, dword [ebp - 0x54]
lea ecx, [ebp - 0xa0]
addss xmm2, dword [ebp - 0x18]
movss xmm1, dword [eax + 0xc8]
xorps xmm4, xmm4
movss xmm0, dword [eax + 0xcc]
addss xmm3, xmm4
movss dword [ebp - 0xe8], xmm1
movss dword [ebp - 0xe4], xmm0
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0xdc], xmm2
subss xmm2, xmm0
movss dword [ebp - 0xe0], xmm3
subss xmm3, xmm1
xorps xmm1, xmm1
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0xa0], xmm3
call fcn.100224b0
push 0
xor edx, edx
lea ecx, [ebp - 0xe8]
call fcn.100225c0
add esp, 4
call fcn.10025690
call fcn.1002b040
mov eax, dword [ebp - 0x88]
test al, al
je 0x10047a77
call fcn.1002a7a0
mov eax, dword [ebp - 0x88]
cmp byte [esi + 0x2cdc], 0
je 0x10047a93
test al, al
jne 0x10047a93
push 0
mov edx, edi
lea ecx, [ebp - 0x7c]
call fcn.1002f7f0
add esp, 4
movss xmm0, dword [ebp - 0xc8]
comiss xmm0, dword [0x100c4ac8]
jbe 0x10047ae6
movss xmm0, dword [esi + 0x154c]
xor edx, edx
addss xmm0, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xf4]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x94]
addss xmm0, dword [esi + 0x1538]
movss dword [ebp - 0x78], xmm0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 1
call fcn.10020b10
add esp, 0xc
mov cl, byte [ebp - 0x35]
test cl, cl
je 0x10047b06
mov eax, dword [0x100d83e0]
mov byte [eax + 0x19bf], 1
mov eax, dword [eax + 0x198c]
or dword [eax + 0x110], 4
test byte [ebx + 0x10], 0x20
movzx eax, cl
movzx ecx, byte [ebp - 0x1a]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret