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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x178
push esi
mov esi, dword [0x1011f930]
mov dword [ebp - 0xfc], ecx
mov ecx, esi
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x198c]
mov dword [ebp - 0x2c], edi
cmp byte [edi + 0x7f], 0
jne 0x1004f552
mov edx, dword [ebx + 0x10]
mov eax, edx
shr eax, 0xe
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x14
mov dword [ebp - 0x4c], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 0x34], ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xa4], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x98], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x74], eax
test cl, cl
je 0x1004f1fb
call fcn.10034ab0
mov esi, dword [0x1011f930]
mov ecx, dword [edi + 0x1c0]
xor edx, edx
mov eax, dword [edi + 0x1c8]
mov edi, dword [ebp - 0xfc]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1002a190
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x19ac], eax
jne 0x1004f22e
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x1004f23d
mov byte [esi + 0x19c0], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1004f25a
mov dl, byte [ecx]
test dl, dl
je 0x1004f25a
cmp dl, 0x23
jne 0x1004f254
cmp byte [ecx + 1], dl
je 0x1004f25a
inc ecx
cmp ecx, 0xffffffff
jb 0x1004f244
movss xmm1, dword [0x100da678]
movss xmm0, dword [esi + 0x18ac]
movss dword [ebp - 0xf4], xmm1
cmp edi, ecx
jne 0x1004f283
xorps xmm5, xmm5
movss dword [ebp - 0xc8], xmm5
jmp 0x1004f2d0
movss xmm3, dword [0x100da64c]
lea eax, [ebp - 0x80]
push ecx
push ecx
push edi
push ecx
mov ecx, dword [esi + 0x18a8]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.10047310
movss xmm0, dword [ebp - 0x80]
xorps xmm5, xmm5
addss xmm0, dword [0x100da4a0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0x7c]
cmp byte [ebp - 0x34], 0
mov eax, dword [ebx + 0xc]
movss xmm6, dword [eax]
movss xmm7, dword [eax + 4]
movss dword [ebp - 0x78], xmm6
movss dword [ebp - 0x5c], xmm7
je 0x1004f2fc
movss xmm0, dword [esi + 0x18ac]
mulss xmm0, dword [0x100da550]
mov eax, dword [ebp - 8]
mov edi, dword [esi + 0x198c]
movss xmm3, dword [eax + 0x1538]
movss xmm2, dword [edi + 0x16c]
addss xmm3, xmm3
comiss xmm5, xmm2
addss xmm3, xmm0
jbe 0x1004f393
movss xmm4, dword [edi + 0xc8]
mov ecx, dword [edi + 0x1bc]
movss xmm1, dword [edi + 0x214]
subss xmm4, dword [edi + 0xc]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x1004f37f
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 [0x100da4a8]
maxss xmm2, xmm1
comiss xmm5, xmm6
cvttss2si eax, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x1004f3ae
comiss xmm5, xmm7
jbe 0x1004f417
movss xmm2, dword [edi + 0x218]
mov ecx, dword [edi + 0x1bc]
movss xmm1, dword [edi + 0x214]
subss xmm2, dword [edi + 0x10]
subss xmm1, dword [edi + 0xc]
test ecx, ecx
je 0x1004f40b
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [edi + 0x1bc]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mulss xmm1, dword [eax + ecx*4]
addss xmm1, xmm0
subss xmm1, dword [edi + 0x3c]
mov eax, edi
addss xmm1, dword [eax + 0xc]
addss xmm2, dword [eax + 0x10]
comiss xmm5, xmm6
movss xmm0, dword [0x100da534]
jb 0x1004f44f
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1004f437
movaps xmm6, xmm4
movss dword [ebp - 0x78], xmm6
jmp 0x1004f44f
subss xmm1, dword [edi + 0xc8]
maxss xmm1, xmm0
addss xmm1, xmm6
movaps xmm6, xmm1
movss dword [ebp - 0x78], xmm1
comiss xmm5, xmm7
jb 0x1004f47f
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x1004f467
movaps xmm7, xmm3
movss dword [ebp - 0x5c], xmm7
jmp 0x1004f47f
subss xmm2, dword [edi + 0xcc]
maxss xmm2, xmm0
addss xmm2, xmm7
movaps xmm7, xmm2
movss dword [ebp - 0x5c], xmm2
mov esi, dword [ebp - 0x2c]
movaps xmm0, xmm6
movss xmm2, dword [ebp - 0xc8]
movaps xmm1, xmm7
comiss xmm2, 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 - 0x94], xmm3
movss dword [ebp - 0x90], xmm4
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x88], xmm1
jbe 0x1004f4da
addss xmm2, dword [edi + 0x154c]
jmp 0x1004f4dd
xorps xmm2, xmm2
cmp byte [ebp - 0x34], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x6c], xmm4
mov dword [ebp - 0x50], esi
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x64], xmm1
je 0x1004f5e5
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x70]
call fcn.1002c470
add esp, 4
test al, al
jne 0x1004f55d
movss xmm0, dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
subss xmm0, dword [ebp - 0x70]
movss xmm1, dword [edi + 0x1538]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x64]
subss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x7c], xmm0
call fcn.1002c360
call fcn.10034bf0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x8c]
lea edx, [ebp - 0x80]
subss xmm0, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x14]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x88]
subss xmm0, dword [ebp - 0x90]
movss dword [ebp - 0x7c], xmm0
call fcn.1002f390
add esp, 4
test al, al
jne 0x1004f5af
call fcn.1002f1f0
call fcn.10034bf0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x1011f930]
movss xmm0, dword [ebp - 0x78]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [ebp - 0x50], ecx
subss xmm0, dword [ecx + 0x70]
mov eax, dword [ecx + 0x138]
or dword [ecx + 0x140], eax
movss dword [ebp - 0x78], xmm0
jmp 0x1004f624
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x7c], xmm1
movss xmm1, dword [edi + 0x1538]
movss dword [ebp - 0x80], xmm0
call fcn.1002c360
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x70]
call fcn.1002c470
add esp, 4
test al, al
je 0x1004f552
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x94]
call fcn.1002c610
mov byte [ebp - 0x25], al
test al, al
je 0x1004f643
mov dword [edi + 0x1c64], 1
cmp byte [ebp - 0xa4], 0
je 0x1004f6e7
mov esi, dword [edi + 0x18a8]
cmp dword [esi + 0x14], 0x2a
jg 0x1004f661
mov edi, dword [esi + 0x2c]
jmp 0x1004f680
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1004f677
mov edi, dword [esi + 0x2c]
jmp 0x1004f680
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, 0x2b94
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov eax, dword [esi + 0x18a8]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x30], ecx
mov ecx, edx
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov dword [edx + 0x2c], edi
mov eax, dword [edi + 4]
mov dword [edx + 0xc], eax
call fcn.10034390
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 8]
xor eax, eax
mov ecx, dword [ebp - 0x14]
add edi, 0x1d24
mov edx, ecx
cmp dword [edi], ecx
mov ecx, esi
cmovne edi, eax
test dword [ebx + 0x10], 0x440
mov dword [ebp - 0x10], edi
sete al
movzx eax, al
push eax
call fcn.1002c780
add esp, 4
mov byte [ebp - 0x3d], al
test al, al
je 0x1004f77a
mov ecx, dword [esi + 0x328]
cmp ecx, dword [esi + 0x330]
jne 0x1004f77a
mov byte [ebp - 3], 1
mov byte [ebp - 0x16], 0
cmp byte [ebp - 0x25], 0
mov ecx, dword [ebp - 8]
je 0x1004f74a
cmp byte [ecx + 0x3d0], 0
mov byte [ebp - 2], 1
jne 0x1004f74e
mov byte [ebp - 2], 0
mov eax, dword [ecx + 0x19ac]
mov edx, dword [ebp - 0x14]
cmp eax, edx
je 0x1004f78c
cmp dword [ecx + 0x1ab0], edx
je 0x1004f774
cmp dword [ecx + 0x1aa4], edx
jne 0x1004f78c
cmp dword [ecx + 0x1ac4], 3
jne 0x1004f78c
mov byte [ebp - 9], 1
jmp 0x1004f790
mov byte [ebp - 3], 0
test al, al
je 0x1004f730
mov byte [ebp - 0x16], 1
mov byte [ebp - 3], 0
jmp 0x1004f734
mov byte [ebp - 9], 0
cmp byte [ebp - 0x34], 0
je 0x1004f7d1
test edi, edi
je 0x1004f7d1
test eax, eax
jne 0x1004f7d1
mov eax, dword [ebp - 0x50]
xor edx, edx
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1002a190
mov ecx, dword [ebp - 8]
add esp, 4
cmp dword [ecx + 0x19b0], eax
jne 0x1004f7d1
mov byte [ebp - 0x1d], 1
jmp 0x1004f7e3
cmp byte [ebp - 0x34], 0
mov byte [ebp - 0x1d], 0
je 0x1004f814
mov byte [ebp - 0x1d], 0
test edi, edi
je 0x1004f814
mov eax, dword [ebp - 0x50]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1002a190
mov ecx, dword [ebp - 8]
add esp, 4
mov byte [ebp - 0x35], 1
cmp dword [ecx + 0x19ac], eax
je 0x1004f818
mov byte [ebp - 0x35], 0
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x19ac], eax
mov al, byte [ebp - 9]
mov byte [ebp - 0x15], 0
je 0x1004f83e
test byte [ebx + 0x10], 0x10
jne 0x1004f834
test al, al
je 0x1004f83e
cmp byte [ebp - 0x34], 0
mov byte [ebp - 0x44], 1
je 0x1004f842
mov byte [ebp - 0x44], 0
cmp byte [ebp - 0x3d], 0
jne 0x1004f870
cmp byte [ebp - 2], 0
jne 0x1004f870
cmp byte [ebp - 0x1d], 0
jne 0x1004f870
test al, al
jne 0x1004f870
mov esi, dword [ebp - 8]
cmp byte [esi + 0x3d0], al
je 0x1004faae
mov byte [ebp - 0x15], 1
jmp 0x1004faae
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
cmp dword [ecx + 0x19ac], eax
je 0x1004fa75
lea esi, [ecx + 0x1d24]
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0xe5c], 0xbe99999a
mov dword [ebp - 0x10], esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f8a0
mov edi, dword [esi + 0x28]
lea eax, [esi + 0x24]
sub ecx, edx
mov dword [ebp - 0x1c], eax
lea esi, [ecx + 1]
cmp esi, edi
jle 0x1004f8e2
test edi, edi
je 0x1004f8ca
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x1004f8cf
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1003a910
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push esi
push dword [ebp - 0x30]
mov dword [eax], esi
push dword [ecx + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov edi, dword [ebx + 8]
mov esi, dword [edx + 0x10]
inc edi
mov eax, dword [edx + 4]
mov dword [ebp - 0x54], eax
lea eax, [edx + 0xc]
mov dword [ebp - 0x1c], eax
cmp edi, esi
jle 0x1004f93c
test esi, esi
je 0x1004f921
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1004f926
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1003aa80
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [eax], edi
mov ecx, dword [edx + 0x14]
mov esi, ecx
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1004f994
cmp byte [edi], 0
je 0x1004f991
push 0
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.1002a4b0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1004f98e
cmp eax, 0x10000
jae 0x1004f97e
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x1c]
dec eax
lea eax, [ecx + eax*2]
cmp esi, eax
jb 0x1004f954
jmp 0x1004f991
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sub edi, dword [ebp - 0x30]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x10]
sar esi, 1
mov dword [edx + 4], esi
cmp dword [edi], eax
jne 0x1004f9dc
cmp dword [ebp - 0x54], esi
jne 0x1004f9dc
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 - 0x34]
mov dword [edi + 0x40], esi
jmp 0x1004fa48
mov ecx, dword [ebp - 0x34]
mov dword [edi], eax
mov al, cl
xor al, 1
mov dword [edi + 0x34], 0
mov dword [edi + 0xe4e], 0x630000
mov dword [edi + 0xe54], 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 0x1004fa48
mov eax, dword [ebp - 0x44]
mov edx, 1
cmp byte [ebp - 3], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x44], eax
test dword [ebx + 0x10], 0x2000
je 0x1004fa55
mov byte [edi + 0x44], 1
test cl, cl
jne 0x1004fa72
cmp byte [ebp - 0x16], cl
jne 0x1004fa6e
cmp byte [ebp - 2], cl
je 0x1004fa72
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], cl
je 0x1004fa72
mov byte [ebp - 0x44], 1
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, esi
call fcn.1002c190
call fcn.1002c240
mov ecx, esi
call fcn.10034120
cmp byte [ebp - 0x34], 0
mov esi, dword [ebp - 8]
mov dword [esi + 0x19c8], 2
jne 0x1004faae
test byte [ebx + 0x10], 0x80
jne 0x1004faae
mov dword [esi + 0x19c4], 0xc
mov ecx, dword [ebp - 0x14]
cmp dword [esi + 0x19ac], ecx
jne 0x1004fac5
test edi, edi
jne 0x1004fac5
call fcn.1002c300
mov ecx, dword [ebp - 0x14]
xor dl, dl
mov byte [ebp - 0x3d], 0
mov byte [ebp - 1], dl
mov dword [ebp - 0x48], 0
cmp dword [esi + 0x19ac], ecx
jne 0x1004fed6
cmp byte [ebp - 0x4c], dl
je 0x1004fbc9
cmp byte [esi + 0x19bc], dl
jne 0x1004fbc9
mov esi, dword [ebx + 8]
lea eax, [edi + 0xc]
mov edi, dword [eax + 4]
inc esi
mov dword [ebp - 0x1c], eax
cmp esi, edi
jle 0x1004fb30
test edi, edi
je 0x1004fb18
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x1004fb1d
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1003aa80
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x30]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 0x14]
mov esi, ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1004fb8f
nop word [eax + eax]
cmp byte [edi], 0
je 0x1004fb8c
push 0
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.1002a4b0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1004fb89
cmp eax, 0x10000
jae 0x1004fb7a
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 8]
lea eax, [ecx + edx*2]
cmp esi, eax
jb 0x1004fb50
jmp 0x1004fb8c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sub edi, dword [ebp - 0x30]
xor eax, eax
mov word [esi], ax
sub esi, ecx
sar esi, 1
mov dword [edx + 8], edi
mov ecx, esi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], esi
cmp dword [edi + 0x38], 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 dword [edi + 0x40], esi
mov esi, dword [ebp - 8]
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x10]
mov dword [edi + 0xe64], edx
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x30], eax
cmp byte [esi + 0xe8], 0
mov dword [esi + 0x2e74], 1
sete al
cmp byte [ebp - 0x34], 0
mov byte [esi + 0x19bd], al
movss xmm7, dword [esi + 0xe0]
subss xmm7, dword [ebp - 0x94]
subss xmm7, dword [esi + 0x1534]
addss xmm7, dword [edi + 0x34]
je 0x1004fc4c
mov eax, dword [ebp - 0x50]
movss xmm2, dword [esi + 0xe4]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esi + 0x1538]
jmp 0x1004fc5c
movss xmm2, dword [esi + 0x18ac]
mulss xmm2, dword [0x100da468]
cmp byte [ebp - 0x44], 0
mov al, byte [esi + 0xad]
mov byte [ebp - 3], al
jne 0x1004fdde
mov cl, byte [ebp - 0x25]
test cl, cl
je 0x1004fc86
test al, al
jne 0x1004fcf1
cmp byte [esi + 0x3d5], al
jne 0x1004fdde
cmp byte [esi + 0x3d0], 0
je 0x1004fd4b
cmp byte [edi + 0xe61], 0
jne 0x1004fd4b
test cl, cl
je 0x1004fdfc
cmp byte [edi + 0x48], 0
je 0x1004fcc8
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.1004d780
movss xmm2, dword [ebp - 0xe4]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1004dab0
mov edx, dword [ebx + 0x10]
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 0x1004fdf9
cmp byte [esi + 0x3d5], 0
je 0x1004fc86
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.1004de90
mov esi, dword [ebp - 8]
add esp, 4
mov edx, dword [ebx + 0x10]
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1004fdf9
cmp byte [esi + 0xe8], 0
je 0x1004fdfc
cmp byte [edi + 0xe61], 0
jne 0x1004fe05
movss xmm0, dword [esi + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004fd8a
movss xmm0, dword [esi + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004fdfc
cmp byte [edi + 0x48], 0
je 0x1004fdaa
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.1004d780
movss xmm2, dword [ebp - 0xe4]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1004fdb8
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1004dab0
mov edx, dword [ebx + 0x10]
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x1004fdf9
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 - 3]
cmp byte [edi + 0xe61], 0
je 0x1004fe15
cmp byte [esi + 0xe8], 0
jne 0x1004fe15
mov byte [edi + 0xe61], 0
cmp dword [esi + 0x14f0], 0
jle 0x1004fed6
cmp byte [esi + 0xf8], 0
je 0x1004fe34
cmp byte [esi + 0xfa], 0
je 0x1004fea3
test al, al
je 0x1004fe41
cmp byte [esi + 0xfb], 0
jne 0x1004fea3
cmp byte [ebp - 0x4c], 0
jne 0x1004fea3
cmp byte [ebp - 9], 0
jne 0x1004fea3
mov eax, dword [ebp - 8]
xor esi, esi
mov eax, dword [eax + 0x14f8]
lea ecx, [ebp - 0x1c]
sub esp, 8
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x1c], eax
call fcn.1004efb0
add esp, 8
test al, al
je 0x1004fe92
push dword [ebp - 0x1c]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov eax, dword [ebp - 8]
inc esi
mov edx, dword [ebx + 0x10]
cmp esi, dword [eax + 0x14f0]
jl 0x1004fe52
mov esi, eax
mov ecx, dword [esi + 0x14f4]
test ecx, ecx
jns 0x1004fec9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x14f0]
call fcn.1003aa80
mov dword [esi + 0x14f0], 0
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
xor cl, cl
mov byte [ebp - 2], cl
cmp dword [esi + 0x19ac], eax
jne 0x10051404
cmp byte [esi + 0x19bc], cl
jne 0x10051404
cmp byte [ebp - 0x15], cl
jne 0x10051404
mov cl, byte [esi + 0xf9]
xor eax, eax
test cl, cl
mov edx, 0x20000
cmovne eax, edx
mov dl, byte [esi + 0xad]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x57], dl
test dl, dl
je 0x1004ff73
cmp byte [esi + 0xfb], 0
je 0x1004ff3a
cmp byte [esi + 0xf8], 0
jne 0x1004ff3a
mov eax, 1
jmp 0x1004ff3c
xor eax, eax
test eax, eax
jne 0x1004ff85
xor ch, ch
mov byte [ebp - 0x1d], ch
test dl, dl
je 0x1004ff96
cmp byte [esi + 0xfb], 0
je 0x1004ff96
cmp byte [esi + 0xf9], 0
je 0x1004ff96
cmp byte [esi + 0xf8], 0
jne 0x1004ff96
cmp byte [esi + 0xfa], 0
jne 0x1004ff96
mov byte [ebp - 0x25], 1
jmp 0x1004ff9e
cmp byte [esi + 0xf8], 0
je 0x1004ff40
cmp byte [esi + 0xfb], 0
jne 0x1004ff40
cmp byte [esi + 0xfa], 0
jne 0x1004ff40
test cl, cl
jne 0x1004ff40
mov ch, 1
jmp 0x1004ff42
mov byte [ebp - 0x25], 0
test dl, dl
je 0x1004ffe9
cmp byte [esi + 0xfb], 0
mov ah, byte [esi + 0xfa]
mov byte [ebp - 9], ah
je 0x1004fff3
cmp byte [esi + 0xf8], 0
jne 0x1004fff3
test ah, ah
jne 0x1004fff3
mov cl, byte [esi + 0xf8]
mov byte [ebp - 3], 1
xor dl, dl
cmp byte [esi + 0xf9], dl
je 0x1005003f
test cl, cl
jne 0x1005003f
cmp byte [esi + 0xfa], cl
jne 0x1005003f
cmp byte [esi + 0xfb], cl
jne 0x1005003f
mov dh, 1
jmp 0x10050041
mov ah, byte [esi + 0xf8]
mov byte [ebp - 0x25], 0
mov cl, byte [esi + 0xf8]
mov al, ah
mov byte [ebp - 9], al
mov byte [ebp - 3], 0
test cl, cl
je 0x1004ffc7
cmp byte [esi + 0xf9], 0
mov byte [ebp - 9], al
mov byte [ebp - 3], 0
jne 0x1004ffc7
cmp byte [esi + 0xfa], 0
mov byte [ebp - 9], al
mov byte [ebp - 3], 0
jne 0x1004ffc7
cmp byte [esi + 0xfb], 0
mov byte [ebp - 9], al
mov byte [ebp - 3], 0
jne 0x1004ffc7
mov dl, 1
mov byte [ebp - 9], al
mov byte [ebp - 3], 0
xor dh, dh
mov esi, dword [0x1011f930]
xorps xmm4, xmm4
test ch, ch
je 0x100500ea
mov eax, dword [esi + 0x7c]
test eax, eax
js 0x100500ea
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050073
mov al, 1
jmp 0x100500e2
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100500e0
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005009d
mov eax, 1
test eax, eax
setg al
jmp 0x100500e2
comiss xmm2, xmm1
jae 0x100500d7
comiss xmm4, xmm3
jae 0x100500d7
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100500e2
xor eax, eax
test eax, eax
setg al
jmp 0x100500e2
xor al, al
test al, al
jne 0x10050186
test dh, dh
je 0x100501a9
mov eax, dword [esi + 0x5c]
test eax, eax
js 0x100501a9
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050113
mov al, 1
jmp 0x10050182
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050180
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005013d
mov eax, 1
test eax, eax
setg al
jmp 0x10050182
comiss xmm2, xmm1
jae 0x10050177
comiss xmm4, xmm3
jae 0x10050177
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050182
xor eax, eax
test eax, eax
setg al
jmp 0x10050182
xor al, al
test al, al
je 0x100501a9
cmp byte [ebp - 0x4c], 0
jne 0x100501a9
cmp byte [ebp - 0xa4], 0
jne 0x100501a9
cmp byte [ebp - 0x34], 0
je 0x100501a3
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x100501a9
mov byte [ebp - 0x16], 1
jmp 0x100501ad
mov byte [ebp - 0x16], 0
cmp byte [ebp - 0x1d], 0
je 0x1005024f
mov eax, dword [esi + 0x74]
test eax, eax
js 0x1005024f
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100501d8
mov al, 1
jmp 0x10050247
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050245
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050202
mov eax, 1
test eax, eax
setg al
jmp 0x10050247
comiss xmm2, xmm1
jae 0x1005023c
comiss xmm4, xmm3
jae 0x1005023c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050247
xor eax, eax
test eax, eax
setg al
jmp 0x10050247
xor al, al
test al, al
jne 0x100502eb
test dl, dl
je 0x10050308
mov eax, dword [esi + 0x58]
test eax, eax
js 0x10050308
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050278
mov al, 1
jmp 0x100502e7
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100502e5
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100502a2
mov eax, 1
test eax, eax
setg al
jmp 0x100502e7
comiss xmm2, xmm1
jae 0x100502dc
comiss xmm4, xmm3
jae 0x100502dc
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100502e7
xor eax, eax
test eax, eax
setg al
jmp 0x100502e7
xor al, al
test al, al
je 0x10050308
cmp byte [ebp - 0xa4], 0
jne 0x10050308
cmp byte [ebp - 0x34], 0
je 0x10050302
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10050308
mov byte [ebp - 0x55], 1
jmp 0x1005030c
mov byte [ebp - 0x55], 0
mov dl, byte [ebp - 0x1d]
test dl, dl
je 0x100503af
mov eax, dword [esi + 0x78]
test eax, eax
js 0x100503af
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050338
mov al, 1
jmp 0x100503a7
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100503a5
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050362
mov eax, 1
test eax, eax
setg al
jmp 0x100503a7
comiss xmm2, xmm1
jae 0x1005039c
comiss xmm4, xmm3
jae 0x1005039c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100503a7
xor eax, eax
test eax, eax
setg al
jmp 0x100503a7
xor al, al
test al, al
jne 0x1005044b
test dh, dh
je 0x10050455
mov eax, dword [esi + 0x58]
test eax, eax
js 0x10050455
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100503d8
mov al, 1
jmp 0x10050447
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050445
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050402
mov eax, 1
test eax, eax
setg al
jmp 0x10050447
comiss xmm2, xmm1
jae 0x1005043c
comiss xmm4, xmm3
jae 0x1005043c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050447
xor eax, eax
test eax, eax
setg al
jmp 0x10050447
xor al, al
test al, al
je 0x10050455
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 0x56], 1
je 0x10050459
mov byte [ebp - 0x56], 0
test dl, dl
je 0x1005050b
mov eax, dword [esi + 0x84]
test eax, eax
js 0x1005050b
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050485
mov al, 1
jmp 0x100504f4
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100504f2
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100504af
mov eax, 1
test eax, eax
setg al
jmp 0x100504f4
comiss xmm2, xmm1
jae 0x100504e9
comiss xmm4, xmm3
jae 0x100504e9
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100504f4
xor eax, eax
test eax, eax
setg al
jmp 0x100504f4
xor al, al
test al, al
je 0x1005050b
cmp byte [ebp - 0x4c], 0
jne 0x1005050b
cmp byte [ebp - 0x98], 0
je 0x1005050b
mov dh, 1
jmp 0x10050515
xor dh, dh
test dl, dl
je 0x100505b0
mov eax, dword [esi + 0x80]
test eax, eax
js 0x100505b0
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050539
mov al, 1
jmp 0x100505a8
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100505a6
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050563
mov eax, 1
test eax, eax
setg al
jmp 0x100505a8
comiss xmm2, xmm1
jae 0x1005059d
comiss xmm4, xmm3
jae 0x1005059d
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100505a8
xor eax, eax
test eax, eax
setg al
jmp 0x100505a8
xor al, al
test al, al
jne 0x10050651
cmp byte [ebp - 0x25], 0
je 0x10050664
mov eax, dword [esi + 0x84]
test eax, eax
js 0x10050664
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100505de
mov al, 1
jmp 0x1005064d
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x1005064b
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050608
mov eax, 1
test eax, eax
setg al
jmp 0x1005064d
comiss xmm2, xmm1
jae 0x10050642
comiss xmm4, xmm3
jae 0x10050642
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x1005064d
xor eax, eax
test eax, eax
setg al
jmp 0x1005064d
xor al, al
test al, al
je 0x10050664
cmp byte [ebp - 0x4c], 0
jne 0x10050664
cmp byte [ebp - 0x98], 0
je 0x10050664
mov dl, 1
jmp 0x10050666
xor dl, dl
mov eax, dword [esi + 0x38]
test eax, eax
js 0x100507ab
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050687
mov al, 1
jmp 0x100506f6
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100506f4
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100506b1
mov eax, 1
test eax, eax
setg al
jmp 0x100506f6
comiss xmm2, xmm1
jae 0x100506eb
comiss xmm4, xmm3
jae 0x100506eb
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100506f6
xor eax, eax
test eax, eax
setg al
jmp 0x100506f6
xor al, al
test al, al
je 0x100507ab
cmp byte [ebp - 3], 0
je 0x1005070b
mov eax, 0x10004
jmp 0x1005071c
mov eax, 0x10000
mov ecx, 0x1000c
cmp byte [ebp - 9], 0
cmovne eax, ecx
or eax, dword [ebp - 0x3c]
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov dh, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x19ac], eax
jne 0x10051a9e
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
test cl, cl
je 0x10051435
cmp byte [ebp - 0x4c], al
jne 0x10051422
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0x30]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005140f
test dl, dl
je 0x100507a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005140f
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050780
xor eax, eax
jmp 0x10051414
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1005085c
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100507cc
mov al, 1
jmp 0x1005083b
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050839
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100507f6
mov eax, 1
test eax, eax
setg al
jmp 0x1005083b
comiss xmm2, xmm1
jae 0x10050830
comiss xmm4, xmm3
jae 0x10050830
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x1005083b
xor eax, eax
test eax, eax
setg al
jmp 0x1005083b
xor al, al
test al, al
je 0x1005085c
cmp byte [ebp - 3], 0
je 0x1005084f
mov eax, 0x10005
jmp 0x1005071c
mov eax, 0x10001
lea ecx, [eax + 0xc]
jmp 0x10050715
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1005096f
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005087d
mov al, 1
jmp 0x100508ec
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100508ea
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100508a7
mov eax, 1
test eax, eax
setg al
jmp 0x100508ec
comiss xmm2, xmm1
jae 0x100508e1
comiss xmm4, xmm3
jae 0x100508e1
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100508ec
xor eax, eax
test eax, eax
setg al
jmp 0x100508ec
xor al, al
test al, al
je 0x1005096f
cmp byte [ebp - 0x34], 0
je 0x1005096f
mov esi, dword [ebp - 8]
cmp byte [esi + 0xf8], 0
je 0x1005093a
mov edx, dword [ebp - 0x50]
movss xmm1, dword [edx + 0x5c]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18ac]
addss xmm1, dword [edx + 0xe4]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [edx + 0x5c], xmm0
movss dword [edx + 0xe4], xmm1
mov edi, dword [ebp - 0x10]
jmp 0x10050744
movzx eax, byte [ebp - 3]
lea edx, [edi + 0x38]
mov ecx, edi
lea eax, [eax*4 + 0x10002]
or eax, dword [ebp - 0x3c]
push eax
call fcn.1004de90
mov byte [edi + 0xe60], 1
add esp, 4
mov dword [edi + 0xe5c], 0xbe99999a
mov edi, dword [ebp - 0x10]
jmp 0x10050744
mov eax, dword [esi + 0x44]
test eax, eax
js 0x10050a80
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050990
mov al, 1
jmp 0x100509ff
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x100509fd
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100509ba
mov eax, 1
test eax, eax
setg al
jmp 0x100509ff
comiss xmm2, xmm1
jae 0x100509f4
comiss xmm4, xmm3
jae 0x100509f4
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100509ff
xor eax, eax
test eax, eax
setg al
jmp 0x100509ff
xor al, al
test al, al
je 0x10050a80
cmp byte [ebp - 0x34], 0
je 0x10050a80
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], 0
je 0x10050a70
mov eax, dword [esi + 0x198c]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x74]
movss xmm1, dword [eax + 0x30]
movss xmm3, dword [ecx + 0x5c]
movaps xmm2, xmm3
addss xmm2, dword [esi + 0x18ac]
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 0x10050744
movzx eax, byte [ebp - 3]
lea eax, [eax*4 + 0x10003]
jmp 0x1005071c
mov eax, dword [esi + 0x50]
test eax, eax
js 0x10050b58
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050aa1
mov al, 1
jmp 0x10050b10
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050b0e
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050acb
mov eax, 1
test eax, eax
setg al
jmp 0x10050b10
comiss xmm2, xmm1
jae 0x10050b05
comiss xmm4, xmm3
jae 0x10050b05
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050b10
xor eax, eax
test eax, eax
setg al
jmp 0x10050b10
xor al, al
test al, al
je 0x10050b58
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
or eax, 0x10006
or ecx, 0x10004
mov esi, dword [ebp - 8]
cmp byte [esi + 0xf8], 0
cmovne ecx, eax
push ecx
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov edi, dword [ebp - 0x10]
jmp 0x10050744
mov eax, dword [esi + 0x54]
test eax, eax
js 0x10050c01
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050b79
mov al, 1
jmp 0x10050be8
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050be6
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050ba3
mov eax, 1
test eax, eax
setg al
jmp 0x10050be8
comiss xmm2, xmm1
jae 0x10050bdd
comiss xmm4, xmm3
jae 0x10050bdd
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050be8
xor eax, eax
test eax, eax
setg al
jmp 0x10050be8
xor al, al
test al, al
je 0x10050c01
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
or eax, 0x10007
or ecx, 0x10005
jmp 0x10050b24
mov eax, dword [esi + 0x5c]
test eax, eax
js 0x10050caa
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050c22
mov al, 1
jmp 0x10050c91
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050c8f
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050c4c
mov eax, 1
test eax, eax
setg al
jmp 0x10050c91
comiss xmm2, xmm1
jae 0x10050c86
comiss xmm4, xmm3
jae 0x10050c86
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050c91
xor eax, eax
test eax, eax
setg al
jmp 0x10050c91
xor al, al
test al, al
je 0x10050caa
cmp byte [ebp - 0x4c], 0
jne 0x10050caa
mov ecx, dword [ebp - 0x3c]
or ecx, 0x10008
push ecx
jmp 0x10050720
mov eax, dword [esi + 0x60]
test eax, eax
js 0x10050de3
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050ccb
mov al, 1
jmp 0x10050d3a
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050d38
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050cf5
mov eax, 1
test eax, eax
setg al
jmp 0x10050d3a
comiss xmm2, xmm1
jae 0x10050d2f
comiss xmm4, xmm3
jae 0x10050d2f
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050d3a
xor eax, eax
test eax, eax
setg al
jmp 0x10050d3a
xor al, al
test al, al
je 0x10050de3
cmp byte [ebp - 0x4c], 0
jne 0x10050de3
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x10050d7d
cmp byte [ebp - 9], 0
je 0x10050d8e
push 0x3000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
or ecx, 0x10009
jmp 0x10050b31
cmp byte [ebp - 0x57], 0
je 0x10050d7d
mov esi, dword [ebp - 8]
cmp byte [esi + 0xfb], 0
je 0x10050d80
cmp byte [esi + 0xfa], 0
jne 0x10050d80
cmp byte [esi + 0xf8], 0
jne 0x10050d80
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de90
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov byte [edi + 0xe60], 1
or ecx, 0x10009
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x10050b31
mov eax, dword [esi + 0x68]
test eax, eax
js 0x10050edc
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050e04
mov al, 1
jmp 0x10050e73
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050e71
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050e2e
mov eax, 1
test eax, eax
setg al
jmp 0x10050e73
comiss xmm2, xmm1
jae 0x10050e68
comiss xmm4, xmm3
jae 0x10050e68
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10050e73
xor eax, eax
test eax, eax
setg al
jmp 0x10050e73
xor al, al
test al, al
je 0x10050edc
mov edx, dword [ebx + 0x10]
mov eax, edx
mov esi, dword [ebp - 8]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x34], 0
je 0x10050e98
mov cl, byte [esi + 0xf8]
test al, al
je 0x10050ea9
test cl, cl
jne 0x10050ead
mov edi, dword [ebp - 0x10]
mov dh, 1
mov byte [ebp - 0x15], 1
mov byte [ebp - 1], dh
jmp 0x10050747
test cl, cl
jne 0x10050e98
cmp byte [ebp - 0x4c], 0
jne 0x10050932
sub esp, 8
mov dword [ebp - 0x1c], 0xa
lea ecx, [ebp - 0x1c]
call fcn.1004efb0
add esp, 8
test al, al
je 0x10050b50
push dword [ebp - 0x1c]
jmp 0x10050b32
mov ecx, dword [ebx + 0x10]
test ecx, 0x400
je 0x10050fcd
mov eax, dword [esi + 0x34]
test eax, eax
js 0x10050fcd
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050f0c
mov al, 1
jmp 0x10050f7e
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x10050f7c
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050f36
mov eax, 1
test eax, eax
setg al
jmp 0x10050f7e
comiss xmm2, xmm1
jae 0x10050f73
comiss xmm4, xmm3
jae 0x10050f73
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [ebx + 0x10]
test eax, eax
setg al
jmp 0x10050f7e
xor eax, eax
test eax, eax
setg al
jmp 0x10050f7e
xor al, al
test al, al
je 0x10050fcd
mov eax, dword [ebp - 8]
cmp byte [eax + 0xf8], 0
jne 0x10050fcd
cmp byte [eax + 0xf9], 0
jne 0x10050fcd
cmp byte [eax + 0xfa], 0
jne 0x10050fcd
cmp byte [ebp - 0x4c], 0
jne 0x10050fcd
sub esp, 8
mov dword [ebp - 0x1c], 9
mov edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.1004efb0
add esp, 8
test al, al
je 0x10051179
push dword [ebp - 0x1c]
jmp 0x10050720
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x10051074
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10050fee
mov al, 1
jmp 0x1005105d
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x1005105b
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10051018
mov eax, 1
test eax, eax
setg al
jmp 0x1005105d
comiss xmm2, xmm1
jae 0x10051052
comiss xmm4, xmm3
jae 0x10051052
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x1005105d
xor eax, eax
test eax, eax
setg al
jmp 0x1005105d
xor al, al
test al, al
je 0x10051074
mov edi, dword [ebp - 0x10]
mov cl, 1
mov esi, dword [ebp - 8]
mov dh, byte [ebp - 1]
mov byte [ebp - 0x15], cl
jmp 0x1005074a
test dh, dh
jne 0x100513cc
test dl, dl
jne 0x100513cc
cmp byte [ebp - 0x1d], dl
je 0x10051141
mov eax, dword [esi + 0x70]
test eax, eax
js 0x10051141
movss xmm1, dword [esi + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100510ae
mov al, 1
jmp 0x1005111d
movss xmm2, dword [esi + 0x88]
comiss xmm1, xmm2
jbe 0x1005111b
movss xmm3, dword [esi + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100510d8
mov eax, 1
test eax, eax
setg al
jmp 0x1005111d
comiss xmm2, xmm1
jae 0x10051112
comiss xmm4, xmm3
jae 0x10051112
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [esi + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x1005111d
xor eax, eax
test eax, eax
setg al
jmp 0x1005111d
xor al, al
test al, al
je 0x10051141
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
jmp 0x1005073e
mov al, byte [ebp - 0x16]
test al, al
jne 0x100512c6
cmp byte [ebp - 0x55], al
jne 0x100512c6
cmp byte [ebp - 0x56], al
je 0x1005073e
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x10051184
push dword [esi + 0xd0]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x10051189
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
jmp 0x10050744
mov esi, 0x1007a64c
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051190
mov eax, dword [0x1011f930]
sub ecx, edx
test eax, eax
je 0x100511a8
inc dword [eax + 0x36c]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ecx, eax
xor edi, edi
mov dword [ebp - 0x24], ecx
cmp byte [esi], 0
je 0x1005120d
push 0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.1002a4b0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1005120a
cmp eax, 0x10000
jae 0x10051205
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x2c]
sub esp, 8
call fcn.1004efb0
add esp, 8
test al, al
je 0x10051205
mov ecx, dword [ebp - 0x24]
mov ax, word [ebp - 0x2c]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100511c5
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov word [ecx + edi*2], ax
test edi, edi
jle 0x100512a4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x40]
lea esi, [eax + 0x38]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp ecx, edx
je 0x10051246
cmp ecx, eax
jle 0x10051237
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x10051240
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x10051246
mov dword [esi], ecx
cmp dword [esi], eax
jle 0x1005124c
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.1004de00
mov edx, dword [esi]
mov ecx, dword [ebp - 0x10]
push edi
push dword [ebp - 0x24]
call fcn.1004d960
add esp, 8
test al, al
je 0x10051283
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push edi
push 0
call fcn.1004ecc0
add esp, 8
mov byte [esi + 0xf], 0
add dword [esi], edi
jmp 0x10051297
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x10051297
dec eax
mov word [esi + 0xe16], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov byte [eax + 0xe60], 1
test ecx, ecx
je 0x100512b7
mov eax, dword [0x1011f930]
test eax, eax
je 0x100512b7
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1005073e
mov esi, dword [ebp - 8]
cmp dword [esi + 0xcc], 0
je 0x1005137f
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x40]
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x100512ed
mov ecx, edi
cmovge edi, eax
cmovl ecx, eax
jmp 0x100512f2
mov edi, dword [esi + 4]
xor ecx, ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + edi*2]
lea ecx, [eax + ecx*2]
call fcn.1002a770
mov ecx, dword [0x1011f930]
inc eax
mov dword [ebp - 0x64], eax
test ecx, ecx
je 0x10051317
inc dword [ecx + 0x36c]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [esi + 0x14]
add esp, 4
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
lea ecx, [esi + edi*2]
push ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.1002a640
mov eax, dword [0x1011f930]
add esp, 8
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x10051361
push esi
push dword [eax + 0xd0]
call ecx
mov eax, dword [0x1011f930]
add esp, 8
test esi, esi
je 0x1005136f
test eax, eax
je 0x1005136f
dec dword [eax + 0x36c]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0x16]
add esp, 4
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
test al, al
je 0x10050744
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x100513a6
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 0x10050741
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1004de00
mov byte [edi + 0x47], 0
jmp 0x10050741
movzx eax, dh
mov ecx, edi
xor eax, 1
lea edx, [edi + 0x38]
add eax, 0x1000a
push eax
call fcn.1004de90
mov eax, dword [edi + 0x38]
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
jmp 0x1005073e
mov edi, dword [ebp - 0x10]
mov dh, byte [ebp - 1]
jmp 0x1005074d
sbb eax, eax
or eax, 1
test eax, eax
je 0x10051422
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x10]
test dh, dh
je 0x100519a4
test al, 0x20
je 0x100519a4
cmp byte [ebp - 0x4c], 0
jne 0x10051492
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
lea esi, [eax*4 + 1]
cmp esi, edi
jle 0x1005147b
test edi, edi
je 0x10051463
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10051468
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1003a910
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
mov edx, esi
mov dword [ecx], esi
push 0
push dword [edi + 0x14]
mov ecx, dword [edi + 0x20]
call fcn.1002a640
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, 0x1c0
je 0x10051961
xor edx, edx
xorps xmm4, xmm4
lea esi, [edx + 0x15]
test al, 0x40
je 0x1005155c
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x34]
test eax, eax
js 0x10051559
movss xmm1, dword [ecx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100514d7
mov al, 1
jmp 0x10051546
movss xmm2, dword [ecx + 0x88]
comiss xmm1, xmm2
jbe 0x10051544
movss xmm3, dword [ecx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10051501
mov eax, 1
test eax, eax
setg al
jmp 0x10051546
comiss xmm2, xmm1
jae 0x1005153b
comiss xmm4, xmm3
jae 0x1005153b
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [ecx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x10051546
xor eax, eax
test eax, eax
setg al
jmp 0x10051546
xor al, al
test al, al
mov eax, dword [ebx + 0x10]
je 0x1005155c
mov edx, 0x40
xor esi, esi
jmp 0x100516c5
mov eax, dword [ebx + 0x10]
test al, al
jns 0x100516b8
mov ecx, dword [0x1011f930]
mov eax, dword [ecx + 0x40]
test eax, eax
js 0x10051614
movss xmm1, dword [ecx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005158b
mov al, 1
jmp 0x10051600
movss xmm2, dword [ecx + 0x88]
comiss xmm1, xmm2
jbe 0x100515fe
movss xmm3, dword [ecx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100515b5
mov eax, 1
test eax, eax
setg al
jmp 0x10051600
comiss xmm2, xmm1
jae 0x100515f5
comiss xmm4, xmm3
jae 0x100515f5
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [ecx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [0x1011f930]
test eax, eax
setg al
jmp 0x10051600
xor eax, eax
test eax, eax
setg al
jmp 0x10051600
xor al, al
test al, al
je 0x10051614
mov eax, dword [ebx + 0x10]
mov edx, 0x80
lea esi, [edx - 0x7d]
jmp 0x100516c5
mov eax, dword [ecx + 0x44]
test eax, eax
js 0x100516b5
movss xmm1, dword [ecx + eax*4 + 0x448]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10051635
mov al, 1
jmp 0x100516a4
movss xmm2, dword [ecx + 0x88]
comiss xmm1, xmm2
jbe 0x100516a2
movss xmm3, dword [ecx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005165f
mov eax, 1
test eax, eax
setg al
jmp 0x100516a4
comiss xmm2, xmm1
jae 0x10051699
comiss xmm4, xmm3
jae 0x10051699
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [ecx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
test eax, eax
setg al
jmp 0x100516a4
xor eax, eax
test eax, eax
setg al
jmp 0x100516a4
xor al, al
test al, al
mov eax, dword [ebx + 0x10]
je 0x100516b8
mov edx, 0x80
lea esi, [edx - 0x7c]
jmp 0x100516c5
mov eax, dword [ebx + 0x10]
test eax, 0x100
mov ecx, pe_nt_image_headers32
cmovne edx, ecx
test edx, edx
je 0x10051961
mov dword [ebp - 0x138], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x12c], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x38]
mov word [ebp - 0x11b], cx
mov byte [ebp - 0x119], cl
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0x11c], cl
mov ecx, esi
mov dword [ebp - 0x130], 0
call fcn.1002a770
mov edi, eax
mov ecx, esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x118], edi
mov edx, dword [eax + 0x3c]
lea edx, [esi + edx*2]
call fcn.1002a770
mov dword [ebp - 0x54], eax
mov ecx, esi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x40]
lea edx, [esi + edx*2]
call fcn.1002a770
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x13c]
push eax
xor eax, eax
call eax
mov edx, dword [ebp - 0x118]
add esp, 4
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x2c], ecx
cmp edx, edi
je 0x100517dd
lea edi, [edx + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
test edi, edi
je 0x1005179f
cmp esi, edi
jae 0x100517cb
cmp byte [esi], 0
je 0x100517cb
push edi
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1002a4b0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100517c8
cmp eax, 0x10000
mov eax, dword [ebp - 0x24]
jae 0x10051797
inc eax
jmp 0x10051794
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x38], eax
mov byte [edi + 0xe60], 1
jmp 0x100517e0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x54]
je 0x10051832
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
test edi, edi
je 0x100517fd
cmp esi, edi
jae 0x10051829
cmp byte [esi], 0
je 0x10051829
push edi
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1002a4b0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10051826
cmp eax, 0x10000
mov eax, dword [ebp - 0x24]
jae 0x100517f5
inc eax
jmp 0x100517f2
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x9c]
je 0x1005188d
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24], eax
nop word [eax + eax]
test edi, edi
je 0x10051858
cmp esi, edi
jae 0x10051884
cmp byte [esi], 0
je 0x10051884
push edi
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.1002a4b0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10051881
cmp eax, 0x10000
mov eax, dword [ebp - 0x24]
jae 0x10051850
inc eax
jmp 0x10051847
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x40], eax
cmp byte [ebp - 0x11c], 0
je 0x10051961
mov esi, dword [ebp - 0x124]
mov edx, dword [ebp - 0x48]
cmp esi, edx
jle 0x100518f2
cmp byte [ebp - 0x74], 0
je 0x100518f2
lea eax, [edi + 0xc]
sub esi, edx
add esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp esi, edi
jle 0x100518f0
test edi, edi
je 0x100518cf
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x100518d4
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1003aa80
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov esi, edx
mov edi, dword [eax + 0xc]
dec edi
mov dword [ebp - 0x54], edx
lea edi, [edx + edi*2]
cmp edx, edi
jae 0x1005193f
cmp byte [ecx], 0
je 0x1005193c
mov edx, ecx
lea ecx, [ebp - 0x64]
push 0
call fcn.1002a4b0
mov ecx, dword [ebp - 0x2c]
add esp, 4
add ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x1005193c
cmp eax, 0x10000
jae 0x10051938
mov word [esi], ax
add esi, 2
cmp esi, edi
jb 0x10051908
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x10]
xor eax, eax
mov word [esi], ax
sub esi, edx
mov eax, dword [ebp - 0x124]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe5c], 0xbe99999a
cmp byte [ebp - 0x4c], 0
jne 0x100519a1
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0x30]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10051990
test dl, dl
je 0x1005198c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10051990
add eax, 2
add ecx, 2
test dl, dl
jne 0x10051970
xor eax, eax
jmp 0x10051995
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x10]
je 0x100519a4
mov ecx, dword [edi + 8]
jmp 0x100519aa
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
test esi, esi
je 0x10051a7d
cmp dword [ebp - 0x48], ecx
je 0x10051a48
cmp byte [ebp - 0x74], 0
je 0x10051a48
mov dword [ebp - 0x168], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x158], eax
lea eax, [ecx + 1]
cmp dword [ebx + 8], eax
movlpd qword [ebp - 0x160], xmm0
cmovge eax, dword [ebx + 8]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x16c]
push eax
xor eax, eax
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x16c], 0x40000
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x164], 0
call eax
mov edx, dword [ebp - 0x150]
add esp, 4
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x30], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x154], ecx
cmovl ecx, dword [ebp - 0x154]
jmp 0x10051a4b
mov edx, dword [ebx + 8]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 8], edx
cmp edx, 1
jb 0x10051a79
jbe 0x10051a71
lea eax, [edx - 1]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [edx + eax - 1], 0
mov byte [ebp - 0x3d], 1
mov esi, dword [ebp - 8]
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
cmp byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x14]
je 0x10051ab7
cmp dword [esi + 0x19ac], ecx
jne 0x10051ab7
call fcn.1002c300
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
test dl, dl
jne 0x10051b7b
mov edx, ecx
lea ecx, [ebp - 0x94]
push 1
call fcn.1002b6b0
movss xmm1, dword [0x100da4a8]
add esp, 4
mov ecx, 7
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call fcn.1002a950
movss xmm2, dword [esi + 0x153c]
mov dl, 1
mov ecx, eax
call fcn.1002afc0
movss xmm7, dword [ebp - 0x90]
add esp, 0x10
movss xmm2, dword [ebp - 0x94]
movaps xmm0, xmm7
movss xmm4, dword [ebp - 0x78]
movaps xmm6, xmm2
addss xmm0, dword [ebp - 0x5c]
addss xmm6, dword [esi + 0x1534]
mov edx, dword [ebp - 0x34]
movaps xmm1, xmm4
addss xmm1, xmm2
movss dword [ebp - 0x10c], xmm2
movaps xmm5, xmm7
movss dword [ebp - 0x108], xmm7
addss xmm5, dword [esi + 0x1538]
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0xb4], xmm1
movss dword [ebp - 0x104], xmm1
movss dword [ebp - 0x64], xmm1
jmp 0x10051be2
movss xmm0, dword [ebp - 0x94]
movss xmm4, dword [ebp - 0x78]
movss xmm1, dword [ebp - 0x90]
movaps xmm3, xmm4
mov eax, dword [ebp - 0x50]
addss xmm3, xmm0
movaps xmm2, xmm1
movss dword [ebp - 0x10c], xmm0
addss xmm2, dword [ebp - 0x5c]
movss dword [ebp - 0x108], xmm1
movss xmm6, dword [eax + 0xc8]
movss xmm5, dword [eax + 0xcc]
movaps xmm0, xmm3
movss dword [ebp - 0xb4], xmm0
movss dword [ebp - 0x104], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x64], xmm3
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x100], xmm0
xorps xmm1, xmm1
movss dword [ebp - 0x74], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x9c], xmm5
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0x7c], xmm5
xorps xmm5, xmm5
movss dword [ebp - 0xa0], xmm6
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x80], xmm6
movss dword [ebp - 0x98], xmm0
movss dword [ebp - 0x1c], xmm1
test edi, edi
je 0x10051c39
cmp byte [ebp - 0x4c], 0
jne 0x10051c39
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x19ac], eax
je 0x10051c4e
cmp byte [ebp - 0x35], 0
jne 0x10051c4e
xor cl, cl
jmp 0x10051c50
mov cl, 1
mov byte [ebp - 0x15], cl
test edi, edi
je 0x10051c63
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10051c63
mov al, 1
jmp 0x10051c65
xor al, al
mov byte [ebp - 0x16], al
test cl, cl
jne 0x10051f85
test al, al
jne 0x10051f85
test dl, dl
je 0x10051cd4
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov al, byte [edx]
inc edx
mov byte [ebp - 0x35], al
test al, al
je 0x10051ca6
nop dword [eax + eax]
cmp byte [ebp - 0x35], 0xa
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov al, byte [edx]
inc edx
mov byte [ebp - 0x35], al
test al, al
jne 0x10051c90
mov al, byte [edx - 1]
dec edx
cmp al, 0xa
je 0x10051cb3
cmp al, 0xd
je 0x10051cb3
inc ecx
movd xmm1, ecx
movaps xmm0, xmm4
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x98], xmm0
mulss xmm1, dword [esi + 0x18ac]
movss dword [ebp - 0x1c], xmm1
jmp 0x10051cf8
mov edi, dword [ebp - 0x30]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051ce0
sub ecx, edx
lea edx, [ecx + edi]
cmp ecx, 0x200000
jge 0x10051eca
mov eax, dword [ebp - 0x50]
xor ecx, ecx
movss xmm1, dword [0x100da4a8]
mov edi, dword [eax + 0x274]
call fcn.1002a950
mov ecx, dword [esi + 0x18a8]
movss xmm2, dword [esi + 0x18ac]
lea esi, [ebp - 0x10c]
cmp byte [ebp - 0x34], 0
mov dword [ebp - 0x64], 0
cmovne esi, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ecx
test eax, 0xff000000
je 0x10051e11
test edx, edx
jne 0x10051d64
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051d50
mov eax, dword [ebp - 0x30]
sub ecx, edx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x48]
jmp 0x10051d67
mov eax, dword [ebp - 0x30]
cmp eax, edx
je 0x10051e11
test ecx, ecx
jne 0x10051d7c
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
ucomiss xmm2, dword [0x100da3c4]
lahf
test ah, 0x44
jp 0x10051d91
mov eax, dword [edi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x44]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x70], xmm0
test esi, esi
je 0x10051de2
movss xmm0, dword [ebp - 0x70]
maxss xmm0, dword [esi]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x6c]
maxss xmm0, dword [esi + 4]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x68]
minss xmm0, dword [esi + 8]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x64]
minss xmm0, dword [esi + 0xc]
movss dword [ebp - 0x64], xmm0
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x70]
mov dword [esp], 0
push edx
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push edi
call fcn.100474c0
mov esi, dword [ebp - 8]
cmp byte [ebp - 0x34], 0
je 0x10051ec7
mov ecx, dword [0x1011f930]
xorps xmm4, xmm4
movss xmm2, dword [ebp - 0x1c]
addss xmm2, dword [esi + 0x18ac]
movss xmm3, dword [ebp - 0x98]
mov eax, dword [ecx + 0x198c]
addss xmm3, xmm4
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x10051ebd
movss xmm1, dword [eax + 0xc8]
lea ecx, [ebp - 0x68]
movss xmm0, dword [eax + 0xcc]
addss xmm3, xmm1
addss xmm2, xmm0
movss dword [ebp - 0xe8], xmm1
movss dword [ebp - 0xe4], xmm0
movss dword [ebp - 0xe0], xmm3
subss xmm3, xmm1
movss dword [ebp - 0xdc], xmm2
xorps xmm1, xmm1
subss xmm2, xmm0
movss dword [ebp - 0x68], xmm3
movss dword [ebp - 0x64], xmm2
call fcn.1002c360
push 0
xor edx, edx
lea ecx, [ebp - 0xe8]
call fcn.1002c470
add esp, 4
call fcn.1002f1f0
call fcn.10034bf0
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa4]
test al, al
je 0x10051edf
call fcn.100344a0
mov eax, dword [ebp - 0xa4]
cmp byte [esi + 0x2c68], 0
je 0x10051efb
test al, al
jne 0x10051efb
push 0
mov edx, edi
lea ecx, [ebp - 0x80]
call fcn.10039540
add esp, 4
movss xmm0, dword [ebp - 0xc8]
comiss xmm0, dword [0x100da3c4]
jbe 0x10051f4e
movss xmm0, dword [ebp - 0x8c]
xor edx, edx
addss xmm0, dword [esi + 0x154c]
mov ecx, dword [ebp - 0xfc]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x90]
addss xmm0, dword [esi + 0x1538]
movss dword [ebp - 0x7c], xmm0
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 1
call fcn.1002abe0
add esp, 0xc
mov cl, byte [ebp - 0x3d]
test cl, cl
je 0x10051f6e
mov eax, dword [0x1011f930]
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 - 1]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [edi + 0x14]
xor edx, edx
mov edi, 0xfffffc18
mov esi, dword [ebp - 0x10]
xorps xmm7, xmm7
mov dword [ebp - 0x44], ecx
movss dword [ebp - 0xa8], xmm5
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x14], edi
cmp byte [ebp - 0x15], dl
je 0x10051fc8
mov eax, dword [esi + 0x38]
or edi, 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x48], eax
lea edx, [edi + 2]
cmp byte [ebp - 0x16], 0
je 0x10051fef
mov ecx, dword [esi + 0x40]
cmp dword [esi + 0x3c], ecx
mov eax, dword [ebp - 0x44]
cmovl ecx, dword [esi + 0x3c]
inc edx
mov dword [ebp - 0x14], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x34]
xor esi, esi
movzx eax, al
add edx, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x44]
movzx eax, word [eax]
test ax, ax
je 0x10052055
mov esi, eax
nop dword [eax]
cmp si, 0xa
jne 0x10052044
mov esi, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x24], esi
cmp edi, 0xffffffff
jne 0x1005202e
cmp ecx, dword [ebp - 0x48]
jb 0x1005202e
dec edx
mov edi, esi
test edx, edx
jle 0x10052055
cmp dword [ebp - 0x14], 0xffffffff
jne 0x10052044
cmp ecx, dword [ebp - 0x84]
jb 0x10052044
dec edx
mov dword [ebp - 0x14], esi
test edx, edx
jle 0x10052055
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10052010
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
inc esi
cmp edi, 0xffffffff
mov dword [ebp - 0x24], esi
mov eax, esi
cmovne eax, edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x9c], eax
mov ecx, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
cmove eax, esi
mov dword [ebp - 0x14], eax
cmp edi, edx
jbe 0x1005208e
nop
cmp word [ecx - 2], 0xa
je 0x1005208e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10052080
mov eax, dword [0x1011f930]
movaps xmm4, xmm5
movss dword [ebp - 0x48], xmm4
movaps xmm1, xmm5
mov esi, dword [eax + 0x18a8]
movss xmm2, dword [eax + 0x18ac]
divss xmm2, dword [esi + 0x10]
cmp ecx, edi
jae 0x10052106
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x100520cb
maxss xmm4, xmm1
movaps xmm1, xmm5
jmp 0x100520ed
cmp edx, 0xd
je 0x100520ed
mov edx, eax
cmp edx, dword [esi]
jge 0x100520e0
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x100520e5
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, edi
jb 0x100520b5
comiss xmm1, xmm4
mov edx, dword [ebp - 0x44]
movss dword [ebp - 0x48], xmm4
jbe 0x10052106
movaps xmm4, xmm1
movss dword [ebp - 0x48], xmm4
cmp dword [ebp - 0x14], 0
movd xmm3, dword [ebp - 0x9c]
mov eax, dword [ebp - 8]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [eax + 0x18ac]
mulss xmm3, xmm0
movss dword [ebp - 0x9c], xmm3
jl 0x100521dd
mov edi, dword [ebp - 0x84]
mov ecx, edi
cmp edi, edx
jbe 0x1005214e
nop
cmp word [ecx - 2], 0xa
je 0x1005214e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10052140
mov eax, dword [0x1011f930]
movaps xmm7, xmm5
movaps xmm1, xmm5
mov esi, dword [eax + 0x18a8]
movss xmm2, dword [eax + 0x18ac]
divss xmm2, dword [esi + 0x10]
cmp ecx, edi
jae 0x100521b4
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10052186
maxss xmm7, xmm1
movaps xmm1, xmm5
jmp 0x100521a8
cmp edx, 0xd
je 0x100521a8
mov edx, eax
cmp edx, dword [esi]
jge 0x1005219b
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x100521a0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, edi
jb 0x10052170
comiss xmm1, xmm7
jbe 0x100521b4
movaps xmm7, xmm1
movd xmm3, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [edx + 0x18ac]
mulss xmm3, xmm0
movss dword [ebp - 0xa8], xmm3
movss xmm3, dword [ebp - 0x9c]
jmp 0x100521df
mov edx, eax
cmp byte [ebp - 0x34], 0
je 0x10052208
movd xmm1, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [ebp - 0x78]
movaps xmm0, xmm1
movss dword [ebp - 0x98], xmm0
jmp 0x1005220d
movss xmm1, dword [ebp - 0x78]
cmp byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x10]
je 0x100522d9
cmp byte [ecx + 0xe60], 0
je 0x100522d9
test dword [ebx + 0x10], 0x1000
jne 0x10052275
movss xmm2, dword [ecx + 0x34]
movaps xmm0, xmm1
comiss xmm2, xmm4
mulss xmm0, dword [0x100da44c]
movaps xmm1, xmm4
jbe 0x10052255
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x10052263
subss xmm1, dword [ebp - 0x78]
comiss xmm1, xmm2
jb 0x1005227c
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x34], xmm0
jmp 0x1005227c
mov dword [ecx + 0x34], 0
cmp byte [ebp - 0x34], 0
je 0x100522d2
mov eax, dword [ebp - 0x50]
movaps xmm1, xmm3
subss xmm1, dword [edx + 0x18ac]
movss xmm5, dword [eax + 0x5c]
comiss xmm5, xmm1
jbe 0x100522a3
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x100522af
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x5c]
maxss xmm0, xmm5
subss xmm5, xmm0
movss dword [eax + 0x5c], xmm0
addss xmm5, dword [eax + 0xcc]
movss dword [ebp - 0x2c], xmm5
movss dword [eax + 0xcc], xmm5
movss dword [ebp - 0x7c], xmm5
mov byte [ecx + 0xe60], 0
cmp byte [ebp - 0x16], 0
movss xmm4, dword [ecx + 0x34]
movss dword [ebp - 0x5c], xmm4
je 0x10052579
mov edx, dword [ecx + 0x40]
mov eax, edx
mov ecx, dword [ecx + 0x3c]
cmp ecx, edx
mov edi, dword [ebp - 0x44]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0x15], 0
lea esi, [edi + eax*2]
lea edi, [edi + edx*2]
je 0x10052316
movss xmm1, dword [0x100da4a8]
jmp 0x1005231e
movss xmm1, dword [0x100da474]
mov ecx, 0x2a
call fcn.1002a950
cmp byte [ebp - 0x34], 0
mov ecx, eax
mov dword [ebp - 0x84], ecx
xorps xmm0, xmm0
je 0x10052346
movss dword [ebp - 0xf4], xmm0
xorps xmm6, xmm6
jmp 0x1005234e
movss xmm6, dword [0x100da4ec]
movss xmm5, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x3c]
movss dword [ebp - 0x24], xmm6
addss xmm4, xmm7
addss xmm5, dword [ebp - 0xa8]
subss xmm4, dword [ebp - 0x5c]
subss xmm5, xmm0
movss dword [ebp - 0xa8], xmm5
cmp esi, edi
jae 0x1005256c
movss xmm7, dword [ebp - 0x74]
nop word [eax + eax]
mov eax, dword [ebp - 8]
movaps xmm0, xmm7
addss xmm0, dword [eax + 0x18ac]
comiss xmm5, xmm0
ja 0x1005256c
movss xmm0, dword [ebp - 0x90]
comiss xmm0, xmm5
jbe 0x100523d9
cmp esi, edi
jae 0x1005253c
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1005253c
cmp esi, edi
jb 0x100523c0
jmp 0x1005253c
mov eax, dword [0x1011f930]
xorps xmm0, xmm0
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x18a8]
movss xmm2, dword [eax + 0x18ac]
divss xmm2, dword [edx + 0x10]
cmp esi, edi
jae 0x10052446
nop
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x10052433
cmp ecx, 0xd
je 0x1005242d
cmp ecx, dword [edx]
jge 0x10052420
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10052425
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, edi
jb 0x10052400
jmp 0x1005243d
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x84]
xorps xmm0, xmm0
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x10052482
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18a8]
cmp dword [eax], 0x20
jle 0x1005246a
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1005246f
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100da468]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 8]
addss xmm1, xmm4
movss xmm2, dword [ebp - 0xf4]
movaps xmm0, xmm6
addss xmm4, dword [0x100da3c4]
movss xmm3, dword [ebp - 0xb4]
addss xmm0, xmm5
subss xmm2, dword [eax + 0x18ac]
minss xmm1, xmm3
maxss xmm4, dword [ebp - 0x94]
minss xmm0, xmm7
addss xmm2, xmm5
movss dword [ebp - 0xe0], xmm1
movss dword [ebp - 0xe8], xmm4
comiss xmm0, dword [ebp - 0x90]
maxss xmm2, dword [ebp - 0x90]
movss dword [ebp - 0xdc], xmm0
movss dword [ebp - 0xe4], xmm2
jbe 0x1005253c
comiss xmm7, xmm2
jbe 0x1005253c
comiss xmm1, dword [ebp - 0x94]
jbe 0x1005253c
comiss xmm3, xmm4
jbe 0x1005253c
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xe0]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x274]
call fcn.10044690
movss xmm5, dword [ebp - 0xa8]
movss xmm7, dword [ebp - 0x74]
mov ecx, dword [ebp - 8]
movss xmm4, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0x24]
subss xmm4, dword [ebp - 0x5c]
addss xmm5, dword [ecx + 0x18ac]
mov ecx, dword [ebp - 0x84]
movss dword [ebp - 0xa8], xmm5
cmp esi, edi
jb 0x10052390
mov ecx, dword [ebp - 0x10]
movss xmm6, dword [ebp - 0x3c]
movss xmm4, dword [ebp - 0x5c]
cmp byte [ebp - 0x34], 0
mov edx, dword [ecx + 8]
jne 0x1005258e
cmp edx, 0x200000
jge 0x10052831
mov eax, dword [ebp - 0x50]
xorps xmm5, xmm5
mov eax, dword [eax + 0x274]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1011f930]
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 0x100525c9
xorps xmm0, xmm0
jmp 0x100525d5
movss xmm0, dword [0x100da4a8]
minss xmm0, xmm1
movss xmm1, dword [0x100da5dc]
movss xmm7, dword [0x100da468]
movss xmm3, dword [ebp - 0xec]
comiss xmm5, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10052603
xorps xmm0, xmm0
jmp 0x1005260f
movss xmm0, dword [0x100da4a8]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0xe8]
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10052632
xorps xmm0, xmm0
jmp 0x1005263e
movss xmm0, dword [0x100da4a8]
minss xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10052659
xorps xmm0, xmm0
jmp 0x10052665
movss xmm0, dword [0x100da4a8]
minss xmm0, xmm2
mov eax, dword [ebp - 8]
mulss xmm0, xmm1
mov dword [ebp - 0xb4], 0
movss xmm2, dword [eax + 0x18ac]
addss xmm0, xmm7
cvttss2si edi, xmm0
movaps xmm0, xmm6
subss xmm0, xmm4
shl edi, 0x18
or edi, ecx
mov ecx, dword [eax + 0x18a8]
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x34], 0
mov dword [ebp - 0x74], ecx
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0x2c]
lea esi, [edx + eax]
subss xmm0, xmm5
lea edx, [ebp - 0x10c]
cmovne edx, dword [ebp - 0xb4]
movss dword [ebp - 0xf4], xmm0
test edi, 0xff000000
je 0x100527bf
test esi, esi
jne 0x100526f2
mov ecx, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100526e0
mov eax, dword [ebp - 0x30]
sub ecx, esi
lea esi, [eax + ecx]
mov ecx, dword [ebp - 0x74]
cmp eax, esi
je 0x100527bf
test ecx, ecx
mov ecx, dword [ebp - 0x24]
jne 0x1005270a
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x74], eax
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x1005271b
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x3c]
shl ecx, 4
mov eax, dword [eax + 0x44]
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0xc0], xmm0
test edx, edx
je 0x1005278a
movss xmm0, dword [ebp - 0xc0]
maxss xmm0, dword [edx]
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 0xbc]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0xb8]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0xb4]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0xb4], xmm0
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xc0]
mov dword [esp], 0
push esi
push dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push dword [ebp - 0x24]
call fcn.100474c0
xorps xmm5, xmm5
mov ecx, dword [ebp - 0x10]
cmp byte [ebp - 0x15], 0
je 0x10051e11
mov esi, dword [ebp - 8]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [ecx + 0xe5c]
movss dword [ecx + 0xe5c], xmm0
cmp byte [esi + 0xae], 0
je 0x10052836
comiss xmm5, xmm0
jae 0x10052836
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xb8], xmm0
fld qword [ebp - 0xb8]
fld qword [0x100da4e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100da490]
fstp qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0xb8]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10052836
xor al, al
jmp 0x10052838
xorps xmm5, xmm5
jmp 0x100527c2
mov al, 1
movss xmm3, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x3c]
movss xmm6, dword [0x100da4a8]
addss xmm3, dword [ebp - 0x9c]
addss xmm4, dword [ebp - 0x48]
subss xmm3, dword [0x100da3c4]
subss xmm4, dword [ebp - 0x5c]
movss dword [ebp - 0x2c], xmm3
movaps xmm0, xmm3
movss dword [ebp - 0x3c], xmm4
movaps xmm2, xmm4
movss dword [ebp - 0xe8], xmm4
movaps xmm1, xmm3
addss xmm2, xmm6
subss xmm0, dword [esi + 0x18ac]
subss xmm1, dword [0x100da4c8]
movss dword [ebp - 0xe0], xmm2
addss xmm0, dword [0x100da468]
movss dword [ebp - 0xdc], xmm1
movss dword [ebp - 0xe4], xmm0
test al, al
je 0x1005292b
comiss xmm1, dword [ebp - 0x90]
jbe 0x1005292b
movss xmm5, dword [ebp - 0x54]
comiss xmm5, xmm0
jbe 0x1005292b
comiss xmm2, dword [ebp - 0x94]
jbe 0x1005292b
movss xmm0, dword [ebp - 0x64]
comiss xmm0, xmm4
jbe 0x1005292b
sub esp, 8
movss dword [ebp - 0x64], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x68], xmm4
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.1002a950
add esp, 4
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x274]
call fcn.10044490
movss xmm3, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x3c]
movss xmm6, dword [0x100da4a8]
cmp byte [ebp - 0x4c], 0
jne 0x10051e14
subss xmm3, dword [esi + 0x18ac]
subss xmm4, xmm6
movss dword [esi + 0x2c30], xmm3
movss dword [esi + 0x2c2c], xmm4
jmp 0x10051e14