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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057490
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x10068380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x194], ecx
mov edi, dword [0x1006a97c]
mov esi, edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], esi
mov eax, dword [esi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1ba8]
mov dword [ebp - 0x158], eax
cmp byte [eax + 0x8f], 0
jne 0x10035d1e
mov edx, dword [ebx + 0x14]
mov ecx, edx
shr ecx, 0x1a
and ecx, 0xffffff01
mov dword [ebp - 0x104], ecx
mov ecx, edx
shr ecx, 0xe
and ecx, 0xffffff01
mov dword [ebp - 0x118], ecx
mov ecx, edx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x198], ecx
mov ecx, edx
shr ecx, 0x10
not cl
and ecx, 0xffffff01
mov dword [ebp - 0x14c], ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0xffffff01
cmp byte [ebp - 0x104], 0
mov dword [ebp - 0x15c], ecx
je 0x10035808
call fcn.100172e0
mov edi, dword [0x1006a97c]
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x194]
call fcn.1000a7a0
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0x1be0], eax
jne 0x1003583c
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x1003584b
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], eax
jne 0x1003586f
push ecx
push dword [ebp - 0x194]
mov edx, 0xb
mov ecx, eax
call fcn.1001d8e0
mov edi, dword [0x1006a97c]
add esp, 8
mov eax, dword [ebp - 0x194]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10035896
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10035896
cmp dl, 0x23
jne 0x10035890
cmp byte [ecx + 1], dl
je 0x10035896
inc ecx
cmp ecx, 0xffffffff
jb 0x10035880
movss xmm1, dword [0x100619dc]
movss xmm0, dword [edi + 0x1944]
movss dword [ebp - 0x180], xmm1
cmp eax, ecx
jne 0x100358bf
xorps xmm3, xmm3
movss dword [ebp - 0x1a0], xmm3
jmp 0x10035910
push ecx
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x1940]
lea eax, [ebp - 0x168]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1002cb00
movss xmm0, dword [ebp - 0x168]
xorps xmm3, xmm3
addss xmm0, dword [0x1006183c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1a0], xmm0
movss xmm0, dword [ebp - 0x164]
cmp byte [ebp - 0x104], 0
je 0x10035929
movss xmm0, dword [esi + 0x1944]
mulss xmm0, dword [0x10061920]
test byte [edi + 0x1c34], 1
movss xmm1, dword [esi + 0x1568]
mov eax, dword [edi + 0x1ba8]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x10035955
movss xmm0, dword [edi + 0x1c38]
jmp 0x1003595d
movss xmm0, dword [eax + 0x180]
comiss xmm3, xmm0
jbe 0x1003599c
cmp dword [eax + 0x170], 0
movss xmm1, dword [eax + 0x208]
jne 0x1003597c
cmp dword [edi + 0x1f64], 0
je 0x10035984
movss xmm1, dword [eax + 0x1d8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x10061844]
maxss xmm0, xmm1
cvttss2si eax, xmm0
lea ecx, [ebp - 0x168]
movd xmm1, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
push dword [eax + 4]
push dword [eax]
call fcn.10017200
movss xmm1, dword [ebp - 0x1a0]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x100359da
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x157c]
jmp 0x100359dd
xorps xmm2, xmm2
mov edi, dword [ebp - 0x158]
lea eax, [ebp - 0x70]
movss xmm5, dword [ebp - 0x168]
addss xmm2, xmm5
movss dword [ebp - 0x184], xmm5
push 0x3c
movss xmm4, dword [edi + 0xd4]
movss xmm3, dword [edi + 0xd0]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x164]
movaps xmm1, xmm3
movss dword [ebp - 0xe8], xmm3
addss xmm2, xmm3
movss dword [ebp - 0x17c], xmm4
addss xmm1, xmm5
movss dword [ebp - 0x80], xmm3
push 0
movss dword [ebp - 0x74], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x164]
push eax
movss dword [ebp - 0x7c], xmm4
movss dword [ebp - 0x78], xmm1
movss dword [ebp - 0xf0], xmm2
movss dword [ebp - 0x124], xmm0
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x154], edi
call sub.VCRUNTIME140.dll_memset
movss xmm1, dword [ebp - 0x124]
lea ecx, [ebp - 0x140]
subss xmm1, dword [ebp - 0x17c]
movss xmm0, dword [ebp - 0xf0]
add esp, 0xc
subss xmm0, dword [ebp - 0xe8]
movss dword [ebp - 0x13c], xmm1
movss xmm1, dword [esi + 0x1568]
movss dword [ebp - 0x140], xmm0
call fcn.10016c70
cmp byte [ebp - 0x104], 0
je 0x10035dad
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10016da0
add esp, 8
test al, al
je 0x10035d19
movups xmm0, xmmword [esi + 0x1c48]
mov eax, dword [esi + 0x1c50]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x70], xmm0
push eax
movups xmm0, xmmword [esi + 0x1c58]
mov dword [ebp - 0x28], 3
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [esi + 0x1c68]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x1c78]
mov esi, dword [0x1006a97c]
movq qword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xe8]
movss dword [edi + 0xd0], xmm0
movss xmm0, dword [ebp - 0x17c]
lea ecx, [esi + 0x1ce4]
movss dword [edi + 0xd4], xmm0
movups xmm0, xmmword [esi + 0x1620]
movups xmmword [ebp - 0x24], xmm0
call fcn.1001e1e0
mov edi, dword [ebp - 0x114]
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x144], 7
movups xmm0, xmmword [edi + 0x1660]
movups xmmword [esi + 0x1620], xmm0
mov esi, dword [0x1006a97c]
movss xmm0, dword [edi + 0x156c]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [esi + 0x1554]
lea ecx, [esi + 0x1cf0]
movss dword [ebp - 0x140], xmm0
call fcn.1001e120
movss xmm0, dword [ebp - 0xf0]
lea eax, [ebp - 0x144]
movss dword [esi + 0x1554], xmm0
mov esi, dword [0x1006a97c]
movss xmm0, dword [edi + 0x1570]
movss dword [ebp - 0xf0], xmm0
push eax
movss xmm0, dword [esi + 0x1558]
lea ecx, [esi + 0x1cf0]
mov dword [ebp - 0x144], 8
movss dword [ebp - 0x140], xmm0
call fcn.1001e120
movss xmm0, dword [ebp - 0xf0]
lea eax, [ebp - 0x144]
movss dword [esi + 0x1558], xmm0
mov esi, dword [0x1006a97c]
push eax
mov dword [ebp - 0x144], 2
movss xmm1, dword [esi + 0x1530]
lea ecx, [esi + 0x1cf0]
movss xmm0, dword [esi + 0x1534]
movss dword [ebp - 0x140], xmm1
movss dword [ebp - 0x13c], xmm0
call fcn.1001e120
movss xmm1, dword [ebp - 0x78]
lea eax, [ebp - 0x140]
movss xmm0, dword [ebp - 0x74]
subss xmm1, dword [ebp - 0x80]
subss xmm0, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x194]
push 4
push 1
push eax
mov dword [esi + 0x1530], 0
mov dword [esi + 0x1534], 0
movss dword [ebp - 0x140], xmm1
movss dword [ebp - 0x13c], xmm0
call fcn.100110c0
add esp, 0xc
mov byte [ebp - 0x10d], al
mov ecx, 3
call fcn.1000b2d0
mov esi, dword [0x1006a97c]
mov ecx, dword [esi + 0x1ce4]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1cec]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x15f
shl eax, 4
add eax, esi
movups xmmword [eax], xmm0
dec dword [esi + 0x1ce4]
cmp byte [ebp - 0x10d], 0
jne 0x10035d3e
call fcn.10011360
call fcn.10017410
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054c5d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, edi
mov edx, dword [esi + 0x1ba8]
mov dword [ebp - 0x154], edx
movsx ecx, word [edx + 0x12a]
mov eax, dword [edx + 0x124]
bts ecx, eax
mov word [edx + 0x12a], cx
movss xmm0, dword [esi + 0x1564]
addss xmm0, dword [edx + 0xd0]
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [esi + 0x1568]
addss xmm0, dword [edx + 0xd4]
movss dword [edx + 0xd4], xmm0
movss xmm0, dword [ebp - 0x168]
subss xmm0, dword [edx + 0x80]
movss dword [ebp - 0x184], xmm0
jmp 0x10035de4
test dword [ebx + 0x14], 0x10000000
jne 0x10035dd8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10016da0
add esp, 8
test al, al
je 0x10035d1e
mov eax, dword [esi + 0x1c50]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
call fcn.1000c9b0
mov dl, al
mov byte [ebp - 0x11d], dl
test dl, dl
je 0x10035e08
mov dword [esi + 0x1ec0], 1
mov edi, dword [0x1006a97c]
xor eax, eax
mov ecx, dword [ebp - 0x11c]
add edi, 0x1ff4
cmp dword [edi], ecx
cmovne edi, eax
mov eax, dword [ebp - 0x10c]
shr eax, 8
and al, 1
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10c], eax
mov eax, dword [esi + 0x1be0]
cmp eax, ecx
je 0x10035e64
cmp dword [esi + 0x1d6c], ecx
je 0x10035e5b
cmp dword [esi + 0x1d60], ecx
jne 0x10035e64
cmp dword [esi + 0x1d88], 2
jne 0x10035e64
mov byte [ebp - 0xf5], 1
jmp 0x10035e6b
mov byte [ebp - 0xf5], 0
test dl, dl
je 0x10035e7f
cmp byte [esi + 0x3e0], 0
mov byte [ebp - 0xea], 1
jne 0x10035e86
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0x104], 0
je 0x10035efc
test edi, edi
je 0x10035efc
test eax, eax
jne 0x10035efc
mov eax, dword [ebp - 0x154]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000a7a0
mov ecx, dword [0x1006a97c]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10035eeb
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001d8e0
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1c1c], eax
jne 0x10035efc
mov byte [ebp - 0xe9], 1
jmp 0x10035f1c
mov eax, dword [ebp - 0x104]
mov byte [ebp - 0xe9], 0
test al, al
je 0x10035f96
mov byte [ebp - 0xe9], 0
test edi, edi
je 0x10035f96
mov eax, dword [ebp - 0x154]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000a7a0
mov ecx, dword [0x1006a97c]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10035f70
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001d8e0
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1be0], eax
jne 0x10035f90
mov cl, 1
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfd], cl
mov byte [ebp - 0xfc], 0
jmp 0x10035fb0
mov eax, dword [ebp - 0x104]
xor cl, cl
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfc], 0
mov byte [ebp - 0xfd], cl
test al, al
je 0x10035fcb
mov eax, dword [ebp - 0x154]
movss xmm0, dword [eax + 0x5c]
mov eax, dword [ebp - 0x104]
movss dword [ebp - 0x180], xmm0
jmp 0x10035fd3
xor cl, cl
mov byte [ebp - 0xfd], cl
test edi, edi
je 0x10035fe2
xor al, 1
cmp byte [edi + 0x53], al
je 0x10035fe2
mov al, 1
jmp 0x10035fe4
xor al, al
cmp byte [ebp - 0xea], 0
mov byte [ebp - 0xe2], al
mov dword [ebp - 0x124], 1
jne 0x1003602b
cmp byte [ebp - 0xe9], 0
jne 0x1003602b
cmp byte [ebp - 0xf5], 0
jne 0x1003602b
cmp byte [ebp - 0x10c], 0
jne 0x1003602b
mov byte [ebp - 0xe9], 0
test cl, cl
jne 0x10036032
mov byte [ebp - 0xeb], cl
jmp 0x10036047
mov byte [ebp - 0xe9], 1
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 0xeb], 1
cmp dword [esi + 0x1be0], edx
jne 0x1003604f
test al, al
je 0x1003630c
mov ecx, dword [ebp - 0x108]
lea edi, [esi + 0x1ff4]
mov dword [ebp - 0x128], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036070
mov eax, dword [edi + 0x28]
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0xe8], edx
cmp edx, eax
jle 0x100360ba
test eax, eax
je 0x1003609f
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x28]
jmp 0x100360a4
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x24]
push eax
call fcn.10007b70
mov edx, dword [ebp - 0xe8]
push edx
push dword [ebp - 0x108]
mov dword [edi + 0x24], edx
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [edi + 0x10]
inc edx
mov dword [ebp - 0xe8], edx
cmp edx, eax
jle 0x10036111
test eax, eax
je 0x100360f6
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100360fb
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001e570
mov edx, dword [ebp - 0xe8]
lea eax, [edi + 0x18]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003613a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x18]
call fcn.10007b70
lea eax, [edi + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [eax], 0
mov ecx, dword [edi + 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0xf4], ecx
lea ecx, [ecx + esi*2]
mov byte [edi + 0x30], 0
mov esi, dword [ebp - 0x114]
add ecx, 0xfffffffe
mov dword [ebp - 0x134], eax
cmp edx, ecx
jae 0x100361dd
mov edi, dword [ebx + 0xc]
mov esi, eax
nop dword [eax]
cmp byte [esi], 0
je 0x100361cb
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
mov edx, dword [ebp - 0xf4]
add esi, eax
mov eax, dword [ebp - 0xf0]
add esp, 4
mov dword [ebp - 0x134], esi
test eax, eax
je 0x100361cb
mov ecx, dword [ebp - 0x12c]
mov word [edx], ax
lea eax, [edi - 1]
add edx, 2
mov dword [ebp - 0xf4], edx
lea eax, [ecx + eax*2]
cmp edx, eax
jb 0x10036180
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x108]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0x12c]
sar edx, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x11c]
mov dword [edi + 4], edx
cmp dword [edi], eax
jne 0x10036239
cmp byte [ebp - 0xe2], cl
jne 0x10036239
cmp dword [edi + 0x3c], edx
mov ecx, edx
mov byte [ebp - 0x10d], 1
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 0x40], ecx
cmovl edx, dword [edi + 0x44]
mov cl, byte [ebp - 0x10d]
mov dword [edi + 0x44], edx
jmp 0x1003629c
mov dword [edi], eax
xor cl, cl
mov al, byte [ebp - 0x104]
xor al, 1
mov dword [edi + 0x38], 0
mov dword [edi + 0xe5a], 0x630000
mov dword [edi + 0xe60], 0
mov dword [edi + 0xe64], 0x3e7
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x3c], 0
mov word [edi + 0x51], 1
mov dword [edi + 0x58], 0
mov byte [edi + 0x50], cl
mov byte [edi + 0x53], al
mov byte [edi + 0x48], cl
mov dword [edi + 0x4c], 0
cmp byte [ebp - 0x104], 0
mov edx, dword [ebx + 0x14]
jne 0x10036300
mov eax, dword [ebp - 0xfc]
test dl, 0x10
movzx eax, al
cmovne eax, dword [ebp - 0x124]
cmp byte [ebp - 0xf5], 0
mov dword [ebp - 0xfc], eax
je 0x100362de
test cl, cl
je 0x100362d7
test byte [esi + 0x1d70], 4
jne 0x100362de
mov byte [ebp - 0xfc], 1
cmp byte [ebp - 0x10c], 0
jne 0x100362f9
cmp byte [ebp - 0xea], 0
je 0x10036300
cmp byte [esi + 0xfc], 0
je 0x10036300
mov byte [ebp - 0xfc], 1
test edx, 0x2000
je 0x1003630c
mov byte [edi + 0x48], 1
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
je 0x100363cb
cmp byte [ebp - 0xe9], 0
je 0x100363c3
mov edx, dword [ebp - 0x158]
call fcn.1000c740
call fcn.10018cb0
mov ecx, edx
call fcn.10016440
mov eax, dword [esi + 0x1bf4]
mov edx, dword [ebx + 0x14]
or eax, 3
cmp byte [ebp - 0x104], 0
mov dword [esi + 0x1bf4], eax
jne 0x10036361
test dl, dl
jns 0x1003636a
or eax, 0xc
mov dword [esi + 0x1bf4], eax
mov eax, dword [esi + 0x1c00]
or dword [esi + 0x1bf8], 2
or eax, 0x180
cmp byte [ebp - 0x104], 0
mov ecx, dword [esi + 0x1c04]
mov dword [esi + 0x1c00], eax
mov dword [esi + 0x1c04], ecx
je 0x100363a6
or eax, 0x60
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
test edx, 0x440
je 0x100363bd
or eax, 1
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x10036408
test edi, edi
jne 0x100363da
call fcn.1000c810
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x10036408
cmp byte [esi + 0x3e0], 0
je 0x10036415
cmp byte [ebp - 0xeb], 0
jne 0x10036415
cmp byte [ebp - 0xe9], 0
jne 0x10036415
mov byte [ebp - 0xfe], 1
mov cl, 1
jmp 0x1003641b
test edi, edi
je 0x10036419
cmp byte [ebp - 0xfd], 0
je 0x10036419
mov cl, 1
jmp 0x1003641b
xor cl, cl
mov byte [ebp - 0xf6], cl
test edi, edi
je 0x1003643e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036436
cmp byte [ebp - 0xfc], 0
je 0x1003643e
test cl, cl
je 0x1003643e
mov cl, 1
jmp 0x10036440
xor cl, cl
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x10d], 0
mov byte [ebp - 0xe9], 0
test dl, dl
je 0x1003659e
test edi, edi
je 0x1003659e
cmp byte [ebp - 0xf6], 0
jne 0x10036481
test cl, cl
je 0x100365ab
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
inc ecx
mov dword [ebp - 0xe8], ecx
cmp ecx, eax
jle 0x100364c1
test eax, eax
je 0x100364a2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100364a7
mov ecx, 8
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001e570
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x108]
mov dword [edi + 0xc], ecx
dec ecx
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf4], edx
lea ecx, [esi + ecx*2]
cmp esi, ecx
mov dword [ebp - 0x124], ecx
mov esi, dword [ebp - 0x114]
jae 0x10036546
mov esi, eax
cmp byte [esi], 0
je 0x1003653a
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
mov edx, dword [ebp - 0xf4]
add esi, eax
mov eax, dword [ebp - 0xf0]
add esp, 4
mov dword [ebp - 0x134], esi
test eax, eax
je 0x1003653a
mov word [edx], ax
add edx, 2
mov dword [ebp - 0xf4], edx
cmp edx, dword [ebp - 0x124]
jb 0x100364f7
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x108]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0xe8]
sar edx, 1
cmp dword [edi + 0x3c], edx
mov ecx, edx
mov dword [edi + 4], edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 0x40], ecx
cmovl edx, dword [edi + 0x44]
cmp ecx, edx
mov dword [edi + 8], eax
movzx eax, byte [ebp - 0x11e]
mov ecx, 0
cmovne ecx, eax
mov dword [edi + 0x44], edx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x18c], ecx
cmp byte [ebp - 0xf6], 0
jne 0x100365b9
test cl, cl
jne 0x100365b9
mov eax, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], eax
jne 0x100365cd
test dl, dl
jne 0x100365cd
test edi, edi
je 0x100365cd
mov byte [ebp - 0x11e], 1
cmp byte [edi + 0x30], dl
jne 0x100365d4
mov byte [ebp - 0x11e], 0
cmp byte [ebp - 0x198], 0
je 0x10036667
mov edx, dword [esi + 0x1940]
cmp dword [edx + 0x14], 0x2a
ja 0x100365f2
mov eax, dword [edx + 0x2c]
jmp 0x10036611
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10036608
mov eax, dword [edx + 0x2c]
jmp 0x10036611
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xf4], eax
lea ecx, [esi + 0x2e68]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1940]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x1940]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x1940]
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x1940]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xf4]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.10016720
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x150], 0
cmp dword [esi + 0x1be0], ecx
jne 0x10036cc9
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x14]
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe70], edx
mov dword [ebp - 0x150], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
cmp byte [esi + 0xec], 0
mov dword [esi + 0x31fc], 1
sete al
cmp byte [ebp - 0x104], 0
mov byte [esi + 0x1bed], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, dword [ebp - 0x80]
subss xmm7, dword [esi + 0x1564]
addss xmm7, dword [edi + 0x38]
je 0x100366f7
mov eax, dword [ebp - 0x154]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xd4]
jmp 0x10036707
movss xmm2, dword [esi + 0x1944]
mulss xmm2, dword [0x10061804]
cmp byte [ebp - 0xfc], 0
mov cl, byte [esi + 0xb1]
mov byte [ebp - 0xea], cl
je 0x1003673c
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6d], 1
jmp 0x10036ada
mov al, byte [ebp - 0x11d]
test al, al
je 0x100369fc
cmp word [esi + 0x3ea], 2
jb 0x100369fc
cmp byte [esi + 0xfd], 0
jne 0x100369fc
cmp byte [edi + 0x53], 0
je 0x1003677f
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033ca0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10034010
lea edx, [edi + 0x3c]
mov dword [ebp - 0xe8], eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov byte [edx + 0x16], 0
movzx ecx, word [esi + 0x3ea]
sub ecx, 2
test cl, 1
jne 0x1003696b
test eax, eax
je 0x100367ca
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
cmp word [eax + ecx*2 - 2], 0xa
je 0x100367ca
xor cl, cl
jmp 0x100367cc
mov cl, 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100367d8
test cl, cl
jne 0x100367fb
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100343f0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036819
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x40], eax
jne 0x10036816
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
jmp 0x10036819
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 4]
inc ecx
cmp ecx, edx
jge 0x1003692c
mov eax, dword [edi + 0xe70]
and eax, 0x8000
mov dword [ebp - 0xe8], 0x3000
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x10036921
test ecx, ecx
jle 0x1003692a
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x20
je 0x10036915
cmp eax, 9
je 0x10036915
cmp ax, word [ebp - 0xe8]
je 0x10036915
cmp eax, 0x2c
je 0x10036915
cmp eax, 0x3b
je 0x10036915
cmp eax, 0x28
je 0x10036915
cmp eax, 0x29
je 0x10036915
cmp eax, 0x7b
je 0x10036915
cmp eax, 0x7d
je 0x10036915
cmp eax, 0x5b
je 0x10036915
cmp eax, 0x5d
je 0x10036915
cmp eax, 0x7c
je 0x10036915
cmp eax, 0xa
je 0x10036915
cmp eax, 0xd
je 0x10036915
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2]
cmp eax, 0x20
je 0x1003690e
cmp eax, 9
je 0x1003690e
cmp ax, word [ebp - 0xe8]
je 0x1003690e
cmp eax, 0x2c
je 0x1003690e
cmp eax, 0x3b
je 0x1003690e
cmp eax, 0x28
je 0x1003690e
cmp eax, 0x29
je 0x1003690e
cmp eax, 0x7b
je 0x1003690e
cmp eax, 0x7d
je 0x1003690e
cmp eax, 0x5b
je 0x1003690e
cmp eax, 0x5d
je 0x1003690e
cmp eax, 0x7c
je 0x1003690e
cmp eax, 0xa
je 0x1003690e
cmp eax, 0xd
jne 0x10036915
mov eax, 1
jmp 0x10036917
xor eax, eax
test eax, eax
jne 0x1003692a
mov eax, dword [ebp - 0xf0]
inc ecx
cmp ecx, edx
jl 0x10036843
cmp ecx, edx
mov eax, dword [edi + 4]
cmovg ecx, edx
mov edx, ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x44], ecx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
je 0x1003695a
cmp ecx, eax
jle 0x1003694a
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10036953
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1003695a
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x10036ac7
mov dword [edi + 0x3c], eax
jmp 0x10036ac7
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
push 0x200004
movzx esi, word [eax + ecx*2]
mov ecx, edi
call fcn.100343f0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600005
call fcn.100343f0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600001
call fcn.100343f0
add esp, 4
cmp esi, 0xa
je 0x100369ea
cmp byte [ebp - 0x104], 0
je 0x100369ea
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov esi, dword [ebp - 0x114]
mov byte [edi + 0xe6c], 0
jmp 0x10036ac7
cmp byte [esi + 0x3e0], 0
je 0x10036a49
cmp byte [edi + 0xe6d], 0
jne 0x10036a49
test al, al
je 0x10036ada
cmp byte [edi + 0x53], 0
je 0x10036a30
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033ca0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10034010
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
jmp 0x10036ac7
cmp byte [esi + 0xec], 0
je 0x10036ada
cmp byte [edi + 0xe6d], 0
jne 0x10036ae3
movss xmm0, dword [esi + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10036a88
movss xmm0, dword [esi + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10036ada
cmp byte [edi + 0x53], 0
je 0x10036aa2
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033ca0
movss xmm2, dword [ebp - 0x20]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036ab0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10034010
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0xe6c], 1
mov cl, byte [ebp - 0xea]
mov edx, dword [ebx + 0x14]
mov dword [edi + 0xe68], 0xbe99999a
cmp byte [edi + 0xe6d], 0
je 0x10036af3
cmp byte [esi + 0xec], 0
jne 0x10036af3
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0xfc], 0
je 0x10036b05
cmp byte [esi + 0xfe], 0
je 0x10036b12
test cl, cl
je 0x10036b1b
cmp byte [esi + 0xff], 0
je 0x10036b1b
mov byte [ebp - 0xe1], 1
jmp 0x10036b22
mov byte [ebp - 0xe1], 0
test edx, 0x400
je 0x10036d62
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10036d62
call fcn.10010f20
mov ecx, dword [ebp - 0x118]
test al, al
mov al, byte [ebp - 0xe1]
je 0x10036be4
test al, al
jne 0x10036be4
cmp byte [esi + 0xfd], al
jne 0x10036be4
test cl, cl
jne 0x10036be4
mov ecx, dword [esi + 0x1524]
mov eax, dword [esi + 0x151c]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10036b90
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x10036bd8
cmp ecx, edx
jb 0x10036b80
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xe8]
push 2
sub esp, 8
mov dword [ebp - 0xe8], 9
call fcn.10035530
add esp, 0xc
test al, al
je 0x10036bd8
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100343f0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0x118]
mov al, byte [ebp - 0xe1]
mov edx, dword [ebx + 0x14]
cmp dword [esi + 0x151c], 0
jle 0x10036cc9
test al, al
jne 0x10036c91
test cl, cl
jne 0x10036c91
cmp byte [ebp - 0xf5], cl
jne 0x10036c91
xor ecx, ecx
mov dword [ebp - 0xf4], ecx
nop dword [eax + eax]
mov eax, dword [esi + 0x1524]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0xe8], eax
cmp eax, 9
jne 0x10036c3e
cmp byte [esi + 0xfd], 0
jne 0x10036c7f
push 2
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10035530
add esp, 0xc
test al, al
je 0x10036c79
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100343f0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebx + 0x14]
inc ecx
mov dword [ebp - 0xf4], ecx
cmp ecx, dword [esi + 0x151c]
jl 0x10036c20
mov ecx, dword [esi + 0x1520]
lea eax, [esi + 0x151c]
test ecx, ecx
jns 0x10036cc3
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 + 0x151c]
call fcn.1001e570
lea eax, [esi + 0x151c]
mov dword [eax], 0
mov edx, dword [ebp - 0x11c]
xor cl, cl
mov byte [ebp - 0xe1], cl
cmp dword [esi + 0x1be0], edx
jne 0x10037856
cmp byte [esi + 0x1bec], cl
jne 0x10037856
cmp byte [ebp - 0xfe], cl
jne 0x10037856
movss xmm0, dword [ebp - 0x164]
mov ecx, 1
subss xmm0, dword [esi + 0x1568]
divss xmm0, dword [esi + 0x1944]
cvttss2si eax, xmm0
cmp eax, ecx
cmovge ecx, eax
xor eax, eax
mov dword [edi + 0x4c], ecx
cmp byte [esi + 0xfd], al
mov dword [ebp - 0xe8], ecx
mov ecx, 0x400000
cmovne eax, ecx
mov dword [ebp - 0xfc], eax
mov al, byte [esi + 0xb1]
mov byte [ebp - 0x171], al
test al, al
je 0x10036d73
cmp dword [esi + 0x37c], 0xa
jne 0x10036d73
mov byte [ebp - 0xe2], 1
jmp 0x10036d7e
mov al, byte [ebp - 0xe1]
mov ecx, dword [ebp - 0x118]
jmp 0x10036be7
mov byte [ebp - 0xe2], 0
test al, al
je 0x10036da9
cmp byte [esi + 0xff], 0
mov al, byte [esi + 0xfe]
mov byte [ebp - 0xfd], al
je 0x10036dbc
cmp byte [esi + 0xfc], 0
jne 0x10036dbc
test al, al
jne 0x10036dbc
mov byte [ebp - 0xf5], 1
jmp 0x10036dc3
mov al, byte [esi + 0xfc]
mov byte [ebp - 0xfd], al
mov byte [ebp - 0xe2], 0
mov byte [ebp - 0xf5], 0
cmp byte [esi + 0xb1], 0
mov ecx, dword [esi + 0x37c]
je 0x10036dd7
cmp ecx, 8
jmp 0x10036dda
cmp ecx, 1
sete al
mov byte [ebp - 0xeb], al
test al, al
je 0x10036e07
mov eax, dword [0x1006a97c]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x10036e07
mov ecx, eax
call fcn.10010f20
test al, al
jne 0x10036e21
mov ecx, dword [esi + 0x37c]
cmp ecx, 2
jne 0x10036e4d
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10036e4d
call fcn.10010f20
test al, al
je 0x10036e4d
cmp byte [ebp - 0x118], 0
jne 0x10036e4d
cmp byte [ebp - 0x198], 0
jne 0x10036e4d
cmp byte [ebp - 0x104], 0
je 0x10036e44
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036e4d
mov byte [ebp - 0xea], 1
jmp 0x10036e54
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0xeb], 0
je 0x10036e72
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10036e72
call fcn.10010f20
test al, al
jne 0x10036e90
cmp dword [esi + 0x37c], 1
jne 0x10036eb3
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036eb3
call fcn.10010f20
test al, al
je 0x10036eb3
cmp byte [ebp - 0x198], 0
jne 0x10036eb3
cmp byte [ebp - 0x104], 0
je 0x10036eaa
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036eb3
mov byte [ebp - 0x173], 1
jmp 0x10036eba
mov byte [ebp - 0x173], 0
cmp byte [ebp - 0xeb], 0
je 0x10036ed8
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10036ed8
call fcn.10010f20
test al, al
jne 0x10036ef6
cmp dword [esi + 0x37c], 2
jne 0x10036f06
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036f06
call fcn.10010f20
test al, al
je 0x10036f06
cmp byte [ebp - 0x118], 0
mov byte [ebp - 0x11d], 1
je 0x10036f0d
mov byte [ebp - 0x11d], 0
mov dl, byte [ebp - 0xeb]
test dl, dl
je 0x10036f50
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10036f50
call fcn.10010f20
test al, al
je 0x10036f4a
cmp byte [ebp - 0x118], 0
jne 0x10036f4a
cmp byte [ebp - 0x14c], 0
je 0x10036f4a
mov byte [ebp - 0x174], 1
jmp 0x10036f5b
mov dl, byte [ebp - 0xeb]
mov byte [ebp - 0x174], 0
test dl, dl
je 0x10036f73
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10036f73
call fcn.10010f20
test al, al
jne 0x10036f94
cmp byte [ebp - 0xe2], 0
je 0x10036fad
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10036fad
call fcn.10010f20
test al, al
je 0x10036fad
cmp byte [ebp - 0x118], 0
jne 0x10036fad
cmp byte [ebp - 0x14c], 0
mov byte [ebp - 0x135], 1
jne 0x10036fb4
mov byte [ebp - 0x135], 0
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x10036fc9
call fcn.10010f20
test al, al
jne 0x10036fde
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x10036fe7
call fcn.10010f20
test al, al
je 0x10036fe7
mov byte [ebp - 0xe2], 1
jmp 0x10036fee
mov byte [ebp - 0xe2], 0
mov edx, 1
xor ecx, ecx
call fcn.10019d10
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x10037017
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
js 0x10037030
call fcn.10010f20
test al, al
je 0x10037030
mov edx, 1
lea ecx, [edx + 1]
call fcn.10019d10
comiss xmm0, xmm5
mov byte [ebp - 0x172], 0
jbe 0x10037037
mov byte [ebp - 0x172], 1
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1003704c
call fcn.10010f20
test al, al
jne 0x10037066
mov eax, 1
mov edx, eax
mov ecx, eax
call fcn.10019d10
comiss xmm0, xmm5
mov byte [ebp - 0x175], 0
jbe 0x1003706d
mov byte [ebp - 0x175], 1
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x100370be
call fcn.10010f20
test al, al
je 0x100370be
cmp byte [ebp - 0xf5], 0
je 0x10037092
mov eax, 0x200004
jmp 0x100370a6
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0xfd], 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, eax
push ecx
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x100370ed
call fcn.10010f20
test al, al
je 0x100370ed
cmp byte [ebp - 0xf5], 0
je 0x100370e3
mov eax, 0x200005
jmp 0x100370a6
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1003709c
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10037167
call fcn.10010f20
test al, al
je 0x10037167
cmp byte [ebp - 0x104], 0
je 0x10037167
cmp byte [esi + 0xfc], 0
je 0x10037143
mov edx, dword [ebp - 0x154]
movss xmm0, dword [edx + 0x5c]
subss xmm0, dword [esi + 0x1944]
mov dword [edx + 0x74], 0
mov dword [edx + 0x7c], 0
maxss xmm0, xmm5
movss dword [edx + 0x6c], xmm0
jmp 0x1003782d
movzx eax, byte [ebp - 0xf5]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, dword [ebp - 0xfc]
push eax
call fcn.100343f0
jmp 0x10037819
mov ecx, dword [0x1006a97c]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x100371ee
call fcn.10010f20
test al, al
je 0x100371ee
cmp byte [ebp - 0x104], 0
je 0x100371ee
cmp byte [esi + 0xfc], 0
je 0x100371ca
mov ecx, dword [ebp - 0x154]
movss xmm0, dword [esi + 0x1944]
mov eax, dword [0x1006a97c]
addss xmm0, dword [ecx + 0x5c]
mov eax, dword [eax + 0x1ba8]
minss xmm0, dword [eax + 0x64]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
movss dword [ecx + 0x6c], xmm0
jmp 0x1003782d
movzx eax, byte [ebp - 0xf5]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, dword [ebp - 0xfc]
push eax
call fcn.100343f0
jmp 0x10037819
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x10037260
call fcn.10010f20
test al, al
je 0x10037260
cmp byte [ebp - 0x104], 0
je 0x10037260
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.100343f0
movd xmm0, dword [ebp - 0xe8]
movss xmm1, dword [ebp - 0x180]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1944]
subss xmm1, xmm0
movss dword [ebp - 0x180], xmm1
jmp 0x1003782a
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x100372ce
call fcn.10010f20
test al, al
je 0x100372ce
cmp byte [ebp - 0x104], 0
je 0x100372ce
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.100343f0
movd xmm0, dword [ebp - 0xe8]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1944]
addss xmm0, dword [ebp - 0x180]
movss dword [ebp - 0x180], xmm0
jmp 0x1003782a
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x10037310
call fcn.10010f20
test al, al
je 0x10037310
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
mov eax, ecx
or ecx, 0x200004
or eax, 0x200006
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x10037352
call fcn.10010f20
test al, al
je 0x10037352
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
mov eax, ecx
or ecx, 0x200005
or eax, 0x200007
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10037395
call fcn.10010f20
test al, al
je 0x10037395
cmp byte [ebp - 0x118], 0
jne 0x10037395
cmp byte [ebp - 0xea], 0
jne 0x10037395
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x10037436
call fcn.10010f20
test al, al
je 0x10037436
cmp byte [ebp - 0x118], 0
jne 0x10037436
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003741a
cmp byte [ebp - 0xfd], 0
je 0x100373d3
push 0x60000c
jmp 0x100373fc
cmp byte [ebp - 0x171], 0
je 0x1003741a
cmp byte [esi + 0xff], 0
je 0x1003741a
cmp byte [esi + 0xfe], 0
jne 0x1003741a
cmp byte [esi + 0xfc], 0
jne 0x1003741a
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100343f0
mov dword [edi + 0xe68], 0xbe99999a
add esp, 4
mov byte [edi + 0xe6c], 1
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x200009
push ecx
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
cmp byte [ebp - 0xe2], 0
je 0x100374ad
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x104], 0
je 0x100374b6
mov cl, byte [esi + 0xfc]
test al, al
je 0x10037462
test cl, cl
je 0x100374b6
jmp 0x10037466
test cl, cl
jne 0x100374b6
cmp byte [ebp - 0x118], 0
jne 0x1003782d
push 2
sub esp, 8
mov dword [ebp - 0xe8], 0xa
lea ecx, [ebp - 0xe8]
call fcn.10035530
add esp, 0xc
test al, al
je 0x1003782d
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100343f0
jmp 0x10037819
cmp byte [ebp - 0x172], 0
je 0x100374c9
mov byte [ebp - 0xfe], 1
mov byte [ebp - 0xe9], 1
jmp 0x1003782d
cmp byte [ebp - 0x175], 0
je 0x100374df
mov cl, 1
mov byte [ebp - 0xfe], cl
jmp 0x10037833
mov al, byte [ebp - 0x174]
test al, al
jne 0x100377fa
cmp byte [ebp - 0x135], al
jne 0x100377fa
cmp byte [ebp - 0xeb], al
je 0x10037536
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10037536
call fcn.10010f20
test al, al
je 0x10037536
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
jmp 0x1003782d
mov al, byte [ebp - 0xea]
test al, al
jne 0x100376eb
cmp byte [ebp - 0x173], al
jne 0x100376eb
cmp byte [ebp - 0x11d], al
je 0x1003782d
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x10037581
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x10037586
jmp 0x1003782d
mov esi, 0x1005f23e
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037590
mov eax, dword [0x1006a97c]
sub ecx, edx
test eax, eax
je 0x100375a8
inc dword [eax + 0x36c]
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call eax
add esp, 4
mov dword [ebp - 0x12c], eax
cmp byte [esi], 0
mov dword [ebp - 0xe8], 0
je 0x10037631
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000aa50
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x1003761f
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
push 5
sub esp, 8
call fcn.10035530
add esp, 0xc
test al, al
je 0x1003761a
mov ecx, dword [ebp - 0x12c]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100375d1
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xe8], edi
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0xe8]
xor ecx, ecx
mov word [eax + esi*2], cx
test esi, esi
jle 0x100376ca
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xe8], edx
mov edx, dword [edi + 0x40]
cmp edx, dword [edi + 0x44]
je 0x1003767b
cmp edx, ecx
jle 0x10037662
mov dword [edi + 0x40], ecx
mov edx, ecx
cmp dword [edi + 0x44], ecx
jle 0x10037670
mov dword [edi + 0x44], ecx
mov dword [ebp - 0xe8], ecx
cmp edx, dword [ebp - 0xe8]
jne 0x1003767b
mov dword [edi + 0x3c], edx
cmp dword [edi + 0x3c], ecx
jle 0x10037683
mov dword [edi + 0x3c], ecx
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034360
mov edx, dword [edi + 0x3c]
mov ecx, edi
push esi
push dword [ebp - 0x12c]
call fcn.10033ec0
add esp, 8
test al, al
je 0x100376bd
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push esi
push 0
call fcn.10035240
add esp, 8
mov byte [edi + 0x52], 0
add dword [edi + 0x3c], esi
mov eax, dword [ebp - 0x12c]
mov byte [edi + 0xe6c], 1
test eax, eax
je 0x100376de
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x100376de
dec dword [ecx + 0x36c]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
jmp 0x1003782a
cmp dword [esi + 0xd4], 0
je 0x100377bb
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1003770c
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10037711
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x17c], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.1000acf0
mov ecx, dword [0x1006a97c]
inc eax
mov dword [ebp - 0xf0], eax
test ecx, ecx
je 0x10037742
inc dword [ecx + 0x36c]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call eax
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x124], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x17c]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.1000ac80
mov eax, dword [0x1006a97c]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1003779c
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x1006a97c]
add esp, 8
test esi, esi
je 0x100377aa
test eax, eax
je 0x100377aa
dec dword [eax + 0x36c]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
mov al, byte [ebp - 0xea]
add esp, 4
test al, al
je 0x1003782d
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100377db
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003782d
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034360
mov byte [edi + 0x52], 0
jmp 0x1003782d
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.100343f0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
add esp, 4
mov cl, byte [ebp - 0xe1]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10037848
cmp byte [ebp - 0xf6], 0
je 0x10037848
mov al, 1
jmp 0x1003784a
xor al, al
or byte [ebp - 0x18c], al
mov esi, dword [ebp - 0x114]
xor eax, eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], eax
jne 0x100380b0
test cl, cl
je 0x10037b26
cmp byte [ebp - 0x118], 0
jne 0x10037b0e
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100378b8
test dl, dl
je 0x100378b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100378b8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037898
xor eax, eax
jmp 0x100378bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10037b0e
mov eax, dword [edi + 0x24]
xor edx, edx
mov ecx, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x10037a51
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037910
cmp esi, edi
jae 0x1003793a
cmp byte [esi], 0
je 0x1003793a
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x1003793a
inc eax
jmp 0x10037902
mov edi, dword [ebp - 0x128]
lea edx, [eax + 1]
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0xe8], edx
test edx, edx
jle 0x1003799d
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
mov dword [ebp - 0xf0], eax
test eax, eax
jle 0x1003799d
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x10037979
inc dword [ecx + 0x36c]
add eax, eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0xf0]
add esp, 4
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0xf4], eax
lea ecx, [eax - 2]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x130], ecx
cmp eax, ecx
jae 0x10037a46
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x124]
nop dword [eax]
test edi, edi
je 0x100379f8
cmp esi, edi
jae 0x10037a34
cmp byte [esi], 0
je 0x10037a34
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
mov ecx, dword [ebp - 0xf0]
add esi, eax
mov eax, dword [ebp - 0xf4]
add esp, 4
test ecx, ecx
je 0x10037a34
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xf4], eax
cmp eax, dword [ebp - 0x130]
jb 0x100379f0
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
mov edx, dword [ebp - 0xe8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xfc]
lea ecx, [edx - 1]
xor edx, edx
test eax, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xf0], eax
cmovle ecx, edx
push ecx
mov dword [ebp - 0xe8], ecx
lea ecx, [edi + 0x5c]
push eax
call fcn.10035240
add esp, 8
mov dword [ebp - 0x124], eax
test eax, eax
je 0x10037aa6
mov edx, dword [ebp - 0xf0]
xor ecx, ecx
test edx, edx
jle 0x10037aa6
mov esi, eax
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edx
jl 0x10037a90
mov esi, dword [ebp - 0x114]
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10033e60
mov eax, dword [ebp - 0xe8]
add esp, 4
test eax, eax
jle 0x10037ae3
push eax
push dword [ebp - 0x13c]
xor edx, edx
mov ecx, edi
call fcn.10033ec0
add esp, 8
test al, al
je 0x10037ae3
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x10037b07
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x10037afd
dec dword [ecx + 0x36c]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe9], 0
mov eax, dword [ebx + 0x14]
je 0x10037fb1
test al, 0x20
je 0x10037fb1
cmp byte [ebp - 0x118], 0
jne 0x10037b93
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea edx, [eax*4 + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe8], edx
cmp edx, eax
jle 0x10037b81
test eax, eax
je 0x10037b63
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x1c]
jmp 0x10037b68
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x18]
push eax
call fcn.10007b70
mov edx, dword [ebp - 0xe8]
lea ecx, [edi + 0x18]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.1000ac80
add esp, 8
mov edx, dword [ebx + 0x14]
test edx, 0x801c0
je 0x10037f62
test dl, 0x40
je 0x10037bc8
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10037bc8
call fcn.10010f20
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037bc8
mov eax, 0x40
xor ecx, ecx
jmp 0x10037c40
test dl, dl
jns 0x10037c10
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10037bee
call fcn.10010f20
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037bee
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x10037c40
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10037c10
call fcn.10010f20
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037c10
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x10037c40
test edx, 0x80000
je 0x10037c28
cmp byte [edi + 0xe6e], 0
je 0x10037c28
mov eax, 0x80000
jmp 0x10037c3b
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x10037f62
xor esi, esi
mov dword [ebp - 0xb0], eax
cmp byte [ebp - 0x118], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xa4], 0
mov word [ebp - 0x8f], si
mov byte [ebp - 0x8d], 0
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], esi
jne 0x10037c86
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xa0], ecx
mov ecx, esi
mov byte [ebp - 0x90], 0
lea edx, [esi + eax*2]
call fcn.1000acf0
mov ecx, dword [ebp - 0x128]
mov edi, eax
mov dword [ebp - 0x8c], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1000acf0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1000acf0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xb0]
push eax
xor eax, eax
call eax
mov al, byte [ebp - 0x90]
add esp, 4
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 0xe2], al
cmp edx, edi
jne 0x10037d29
test al, al
je 0x10037d8a
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037d42
cmp esi, edi
jae 0x10037d6c
cmp byte [esi], 0
je 0x10037d6c
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037d6c
inc eax
jmp 0x10037d34
mov edi, dword [ebp - 0x128]
mov edx, dword [ebp - 0x8c]
mov dword [edi + 0x3c], eax
mov al, byte [ebp - 0xe2]
mov byte [edi + 0xe6c], 1
jmp 0x10037d90
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x124]
jne 0x10037da2
test al, al
je 0x10037dfd
cmp ecx, edx
jne 0x10037dab
mov eax, dword [edi + 0x3c]
jmp 0x10037dfa
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037dc4
cmp esi, edi
jae 0x10037dee
cmp byte [esi], 0
je 0x10037dee
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037dee
inc eax
jmp 0x10037db6
mov ecx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x128]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x130]
jne 0x10037e18
cmp byte [ebp - 0xe2], 0
je 0x10037f5c
cmp eax, ecx
jne 0x10037e21
mov eax, dword [edi + 0x40]
jmp 0x10037e6a
mov esi, dword [ebp - 0x9c]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037e3a
cmp esi, edi
jae 0x10037e64
cmp byte [esi], 0
je 0x10037e64
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037e64
inc eax
jmp 0x10037e2c
mov edi, dword [ebp - 0x128]
cmp byte [ebp - 0xe2], 0
mov dword [edi + 0x44], eax
je 0x10037f5c
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x150]
cmp esi, ecx
jle 0x10037ecc
cmp byte [ebp - 0x15c], 0
je 0x10037ecc
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x10037ec9
test eax, eax
je 0x10037eb2
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10037eba
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001e570
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 0x9c]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0x130], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x124], eax
cmp ecx, eax
jae 0x10037f3d
mov edi, dword [ebp - 0xf0]
nop word [eax + eax]
cmp byte [edi], 0
je 0x10037f31
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.1000aa50
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x10037f31
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x124]
jb 0x10037f00
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x130]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x98]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
mov esi, dword [ebp - 0x114]
cmp byte [ebp - 0x118], 0
jne 0x10037fae
mov ecx, dword [ebp - 0x108]
mov eax, dword [edi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10037f94
test dl, dl
je 0x10037f90
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10037f94
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037f74
xor eax, eax
jmp 0x10037f99
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x10037fb1
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [edi + 8]
jmp 0x10037fb7
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x10c]
mov dword [edi + 0xe70], 0
test edx, edx
je 0x100380aa
cmp byte [ebp - 0x15c], 0
je 0x1003806c
mov dword [ebp - 0xdc], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xcc], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0xd4], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xe0]
push eax
xor eax, eax
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xe0], 0x40000
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd8], 0
call eax
mov eax, dword [ebp - 0xcc]
add esp, 4
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 0xc], eax
lea ecx, [eax - 1]
cmp dword [ebp - 0xc8], ecx
cmovl ecx, dword [ebp - 0xc8]
lea eax, [ecx + 1]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebx + 0xc], ecx
cmp ecx, 1
jb 0x100380a3
jbe 0x10038098
lea eax, [ecx - 1]
push eax
push edx
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x108]
mov byte [ecx + eax - 1], 0
mov byte [ebp - 0x10d], 1
mov eax, dword [ebp - 0x11c]
cmp byte [ebp - 0xfe], 0
je 0x100380c6
cmp dword [esi + 0x1be0], eax
jne 0x100380c6
call fcn.1000c810
mov ecx, dword [ebp - 0x104]
test cl, cl
jne 0x1003818f
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
push 1
call fcn.1000b920
movss xmm1, dword [0x10061844]
add esp, 4
mov ecx, 7
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.1000b120
movss xmm2, dword [esi + 0x156c]
mov dl, 1
mov ecx, eax
call fcn.1000b710
movss xmm2, dword [ebp - 0x7c]
add esp, 0x10
movss xmm7, dword [ebp - 0x80]
movaps xmm1, xmm2
movss xmm4, dword [ebp - 0x184]
movaps xmm3, xmm7
addss xmm1, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x104]
addss xmm3, xmm4
movaps xmm5, xmm7
movss dword [ebp - 0x24], xmm7
addss xmm5, dword [esi + 0x1564]
movaps xmm0, xmm2
movss dword [ebp - 0x19c], xmm2
addss xmm0, dword [esi + 0x1568]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x14c], xmm3
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0xf4], xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0xf0], xmm3
jmp 0x10038203
movss xmm1, dword [ebp - 0x80]
movss xmm4, dword [ebp - 0x184]
movaps xmm2, xmm1
movss xmm0, dword [ebp - 0x7c]
addss xmm2, xmm4
mov eax, dword [ebp - 0x154]
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x19c], xmm0
movss dword [ebp - 0x20], xmm0
movss xmm5, dword [eax + 0xd0]
movaps xmm1, xmm2
movss dword [ebp - 0x14c], xmm1
movss dword [ebp - 0x1c], xmm1
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x164]
movss dword [ebp - 0xf0], xmm2
movaps xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0xd4]
cmp byte [ebp - 0x11e], 0
xorps xmm3, xmm3
xorps xmm6, xmm6
movss dword [ebp - 0x13c], xmm0
movss dword [ebp - 0x140], xmm5
movss dword [ebp - 0x150], xmm5
movss dword [ebp - 0x124], xmm1
movss dword [ebp - 0x34], xmm5
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x17c], xmm3
movss dword [ebp - 0xe8], xmm6
je 0x10038257
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x108], eax
jmp 0x1003825d
mov eax, dword [ebp - 0x108]
cmp byte [ebp - 0xf6], 0
jne 0x10038482
cmp byte [ebp - 0x18c], 0
jne 0x10038482
test cl, cl
je 0x100382d5
mov dl, byte [eax]
lea edi, [eax + 1]
xor ecx, ecx
test dl, dl
je 0x10038298
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x10038286
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xfc], edi
cmp al, 0xa
je 0x100382ab
cmp al, 0xd
je 0x100382ab
inc ecx
mov edx, dword [ebp - 0xfc]
movaps xmm0, xmm4
movd xmm6, ecx
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x17c], xmm0
mulss xmm6, dword [esi + 0x1944]
movss dword [ebp - 0xe8], xmm6
jmp 0x1003831a
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x100382ea
mov edx, dword [edi + 8]
add edx, eax
jmp 0x10038301
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100382f0
sub ecx, edx
mov edx, dword [ebp - 0x108]
add edx, ecx
mov eax, edx
mov dword [ebp - 0xfc], edx
sub eax, dword [ebp - 0x108]
cmp eax, 0x200000
jge 0x1003909a
movss xmm1, dword [0x10061844]
xor ecx, ecx
call fcn.1000b120
cmp byte [ebp - 0x104], 0
mov ecx, edx
movss xmm2, dword [esi + 0x1944]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xf0], 0
cmovne edx, dword [ebp - 0xf0]
test dword [ebp - 0x14c], 0xff000000
mov edi, dword [eax + 0x244]
mov eax, dword [esi + 0x1940]
mov dword [ebp - 0x150], eax
je 0x1003909a
cmp dword [ebp - 0xfc], 0
jne 0x100383ad
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0xf0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038394
sub ecx, dword [ebp - 0xf0]
add ecx, dword [ebp - 0x108]
mov eax, dword [esi + 0x1940]
cmp dword [ebp - 0x108], ecx
je 0x1003909a
test eax, eax
jne 0x100383c9
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x150], eax
ucomiss xmm2, dword [0x10061794]
lahf
test ah, 0x44
jp 0x100383de
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [ebp - 0x170], xmm0
test edx, edx
je 0x10038440
movss xmm0, dword [ebp - 0x170]
maxss xmm0, dword [edx]
movss dword [ebp - 0x170], xmm0
movss xmm0, dword [ebp - 0x16c]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x16c], xmm0
movss xmm0, dword [ebp - 0x168]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x168], xmm0
movss xmm0, dword [ebp - 0x164]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x164], xmm0
push dword [ebp - 0x13c]
test edx, edx
push dword [ebp - 0x140]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x170]
push ecx
push dword [ebp - 0x108]
mov ecx, dword [ebp - 0x150]
push eax
push dword [ebp - 0x14c]
push edi
call fcn.1002ccb0
jmp 0x1003909a
mov eax, dword [edi + 8]
xor edx, edx
add eax, dword [ebp - 0x108]
xorps xmm7, xmm7
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], ecx
movss dword [ebp - 0x188], xmm3
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x15c], 0xfffffc18
mov dword [ebp - 0x190], 0xfffffc18
cmp byte [ebp - 0xf6], dl
je 0x100384f2
mov eax, dword [edi + 0x3c]
mov edx, 1
mov dword [ebp - 0x15c], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x158], eax
cmp byte [ebp - 0x18c], 0
je 0x10038525
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x10c]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x190], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov esi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x104]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
mov dword [ebp - 0x130], esi
test si, si
mov esi, dword [ebp - 0x114]
je 0x100385ce
mov eax, dword [ebp - 0x130]
xor esi, esi
mov edi, dword [ebp - 0x15c]
movzx eax, ax
cmp ax, 0xa
jne 0x1003859c
inc esi
cmp edi, 0xffffffff
jne 0x10038580
cmp ecx, dword [ebp - 0x158]
jb 0x10038580
dec edx
mov dword [ebp - 0x15c], esi
test edx, edx
jle 0x100385b6
cmp dword [ebp - 0x190], 0xffffffff
jne 0x1003859c
cmp ecx, dword [ebp - 0x12c]
jb 0x1003859c
dec edx
mov dword [ebp - 0x190], esi
test edx, edx
jle 0x100385b6
movzx eax, word [ecx + 2]
add ecx, 2
mov edi, eax
mov dword [ebp - 0x130], edi
mov edi, dword [ebp - 0x15c]
test ax, ax
jne 0x10038561
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x134], esi
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x190]
inc eax
cmp dword [ebp - 0x15c], 0xffffffff
mov edx, eax
mov dword [ebp - 0x134], eax
cmovne edx, dword [ebp - 0x15c]
cmp ecx, 0xffffffff
mov dword [ebp - 0x13c], edx
mov edx, dword [ebp - 0x10c]
cmove ecx, eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x190], ecx
mov ecx, eax
cmp eax, edx
jbe 0x1003861e
nop
cmp word [ecx - 2], 0xa
je 0x1003861e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10038610
movaps xmm4, xmm3
mov eax, dword [0x1006a97c]
movaps xmm1, xmm3
movss dword [ebp - 0x15c], xmm4
mov edx, dword [eax + 0x1940]
movss xmm2, dword [eax + 0x1944]
divss xmm2, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x158]
jae 0x100386b4
mov esi, dword [ebp - 0x158]
mov edi, edx
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003866a
maxss xmm4, xmm1
movaps xmm1, xmm3
jmp 0x1003868c
cmp edx, 0xd
je 0x1003868c
mov edx, eax
cmp edx, dword [edi]
jge 0x1003867f
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10038684
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, esi
jb 0x10038654
comiss xmm1, xmm4
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
movss dword [ebp - 0x15c], xmm4
jbe 0x100386b4
movaps xmm4, xmm1
movss dword [ebp - 0x15c], xmm1
cmp dword [ebp - 0x190], 0
movd xmm1, dword [ebp - 0x13c]
movss xmm0, dword [esi + 0x1944]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [ebp - 0x130], xmm1
jl 0x100387b6
mov eax, dword [ebp - 0x12c]
mov ecx, eax
mov edx, dword [ebp - 0x10c]
cmp eax, edx
jbe 0x10038700
cmp word [ecx - 2], 0xa
je 0x10038700
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x100386f2
movaps xmm7, xmm3
mov eax, dword [0x1006a97c]
movaps xmm1, xmm3
mov edx, dword [eax + 0x1940]
movss xmm2, dword [eax + 0x1944]
divss xmm2, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x12c]
jae 0x10038794
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x13c], eax
mov esi, eax
cmp eax, 0xa
jne 0x1003874c
maxss xmm7, xmm1
movaps xmm1, xmm3
jmp 0x10038778
cmp esi, 0xd
je 0x10038778
movzx eax, ax
cmp eax, dword [edx]
jge 0x1003876b
mov esi, dword [ebp - 0x13c]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm0, dword [eax + edi*4]
jmp 0x10038770
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [ebp - 0x12c]
jb 0x10038730
comiss xmm1, xmm7
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
jbe 0x10038794
movaps xmm7, xmm1
movd xmm3, dword [ebp - 0x190]
movss xmm0, dword [esi + 0x1944]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movss dword [ebp - 0x188], xmm3
xorps xmm3, xmm3
mov ecx, dword [ebp - 0x104]
movss xmm1, dword [ebp - 0x184]
test cl, cl
je 0x100387ea
movd xmm6, dword [ebp - 0x134]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x17c], xmm0
movss dword [ebp - 0xe8], xmm6
cmp byte [ebp - 0xf6], 0
je 0x10038934
cmp byte [edi + 0xe6c], 0
je 0x10038934
test dword [ebx + 0x14], 0x1000
jne 0x10038865
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm1
comiss xmm2, xmm4
subss xmm1, dword [esi + 0x1564]
mulss xmm0, dword [0x100617e8]
movss dword [ebp - 0x184], xmm1
movaps xmm1, xmm4
jbe 0x10038842
subss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
jmp 0x10038853
subss xmm1, dword [ebp - 0x184]
comiss xmm1, xmm2
jb 0x1003886c
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1003886c
mov dword [edi + 0x38], 0
test cl, cl
je 0x10038920
movss xmm4, dword [ebp - 0x130]
movss xmm5, dword [ebp - 0x180]
movaps xmm0, xmm4
subss xmm0, dword [esi + 0x1944]
comiss xmm5, xmm0
jbe 0x100388b5
movaps xmm5, xmm3
maxss xmm5, xmm0
movss xmm0, dword [ebp - 0x164]
comiss xmm3, xmm5
movss xmm1, dword [esi + 0x1568]
jbe 0x100388ee
movaps xmm1, xmm3
jmp 0x10038902
movss xmm2, dword [esi + 0x1568]
movaps xmm0, xmm4
movss xmm1, dword [ebp - 0x164]
addss xmm2, xmm2
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm5
jb 0x1003889b
movss xmm0, dword [ebp - 0x164]
movaps xmm5, xmm4
subss xmm5, xmm0
addss xmm5, xmm2
jmp 0x100388a3
addss xmm1, xmm1
addss xmm1, xmm6
subss xmm1, xmm0
maxss xmm1, xmm3
minss xmm1, xmm5
mov eax, dword [ebp - 0x154]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x30], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
movss xmm5, dword [ebp - 0x34]
movss dword [ebp - 0x150], xmm5
cmp byte [ebp - 0x18c], 0
movss xmm6, dword [edi + 0x38]
movss dword [ebp - 0x134], xmm6
je 0x10038ca1
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x10c]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xf6], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x10c]
lea edx, [eax + edx*2]
mov dword [ebp - 0x10c], edx
je 0x10038989
movss xmm1, dword [0x10061844]
jmp 0x10038991
movss xmm1, dword [0x1006180c]
mov ecx, 0x2f
call fcn.1000b120
cmp byte [ebp - 0x104], 0
xorps xmm4, xmm4
mov dword [ebp - 0x180], eax
je 0x100389bf
movss dword [ebp - 0x158], xmm4
movss dword [ebp - 0x12c], xmm4
jmp 0x100389df
movss xmm0, dword [0x10061a00]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [0x100618a0]
movss dword [ebp - 0x12c], xmm0
movss xmm3, dword [ebp - 0x30]
movss xmm5, dword [ebp - 0x150]
movss xmm6, dword [ebp - 0x134]
addss xmm7, xmm5
addss xmm3, dword [ebp - 0x188]
subss xmm7, xmm6
subss xmm3, xmm4
movss dword [ebp - 0x188], xmm3
cmp esi, edx
jae 0x10038c4d
movss xmm4, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x114]
nop word [eax + eax]
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1944]
comiss xmm3, xmm0
ja 0x10038c4a
movss xmm0, dword [ebp - 0x7c]
comiss xmm0, xmm3
jbe 0x10038a6f
cmp esi, edx
jae 0x10038c2b
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10038c2b
cmp esi, edx
jb 0x10038a56
jmp 0x10038c2b
xorps xmm0, xmm0
mov eax, dword [0x1006a97c]
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x1940]
movss xmm2, dword [eax + 0x1944]
divss xmm2, dword [edx + 0x10]
cmp esi, dword [ebp - 0x10c]
jae 0x10038b0f
nop dword [eax + eax]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x150], eax
mov edi, eax
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x128]
cmp eax, 0xa
je 0x10038b02
cmp ax, 0xd
je 0x10038af8
movzx eax, ax
cmp eax, dword [edx]
jge 0x10038aeb
mov ecx, dword [ebp - 0x150]
mov eax, dword [edx + 8]
movzx edi, cx
mov ecx, dword [ebp - 0x114]
movss xmm0, dword [eax + edi*4]
mov edi, dword [ebp - 0x128]
jmp 0x10038af0
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x10c]
jb 0x10038aa0
jmp 0x10038b0c
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x10038b48
mov eax, dword [ecx + 0x1940]
cmp dword [eax], 0x20
jle 0x10038b30
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10038b35
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10061804]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x158]
addss xmm1, xmm7
subss xmm2, dword [ecx + 0x1944]
movss xmm0, dword [ebp - 0x12c]
addss xmm7, dword [0x10061794]
movss xmm4, dword [ebp - 0xf4]
addss xmm0, xmm3
minss xmm1, dword [ebp - 0x14c]
addss xmm2, xmm3
maxss xmm7, dword [ebp - 0x80]
minss xmm0, xmm4
movss dword [ebp - 0x168], xmm1
maxss xmm2, dword [ebp - 0x7c]
movss dword [ebp - 0x170], xmm7
comiss xmm0, dword [ebp - 0x19c]
movss dword [ebp - 0x16c], xmm2
movss dword [ebp - 0x164], xmm0
jbe 0x10038c25
comiss xmm4, xmm2
jbe 0x10038c25
comiss xmm1, dword [ebp - 0x80]
jbe 0x10038c25
movss xmm0, dword [ebp - 0x14c]
comiss xmm0, xmm7
jbe 0x10038c25
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x168]
push dword [ebp - 0x180]
push eax
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x244]
call fcn.10028b20
movss xmm5, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x188]
movss xmm6, dword [ebp - 0x134]
movss xmm4, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
movaps xmm7, xmm5
subss xmm7, xmm6
addss xmm3, dword [ecx + 0x1944]
movss dword [ebp - 0x188], xmm3
cmp esi, edx
jb 0x10038a30
xorps xmm4, xmm4
mov esi, dword [ebp - 0x114]
cmp byte [ebp - 0x104], 0
mov edx, dword [ebp - 0xfc]
jne 0x10038c75
mov eax, edx
sub eax, dword [ebp - 0x108]
cmp eax, 0x200000
jge 0x10038ee1
mov eax, dword [0x1006a97c]
movups xmm2, xmmword [eax + 0x15f0]
comiss xmm4, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1528]
movups xmmword [ebp - 0x170], xmm2
jbe 0x10038ca6
xorps xmm0, xmm0
jmp 0x10038cb2
xorps xmm4, xmm4
jmp 0x10038c53
movss xmm0, dword [0x10061844]
minss xmm0, xmm2
movss xmm2, dword [0x1006198c]
movss xmm7, dword [0x10061804]
movss xmm3, dword [ebp - 0x16c]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10038ce0
xorps xmm0, xmm0
jmp 0x10038cec
movss xmm0, dword [0x10061844]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x168]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
movss xmm4, dword [0x10061844]
jbe 0x10038d17
xorps xmm0, xmm0
jmp 0x10038d1e
movaps xmm0, xmm4
minss xmm0, xmm3
mulss xmm0, xmm2
xorps xmm3, xmm3
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm1
jbe 0x10038d3c
xorps xmm0, xmm0
jmp 0x10038d43
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm2
subss xmm5, xmm6
mov dword [ebp - 0x14c], edx
mov edx, dword [esi + 0x1940]
movss xmm2, dword [esi + 0x1944]
addss xmm0, xmm7
mov dword [ebp - 0x19c], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x13c], 0
movss dword [ebp - 0x168], xmm5
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x30]
shl eax, 0x18
subss xmm0, xmm3
or eax, ecx
mov ecx, dword [ebp - 0x154]
cmp byte [ebp - 0x104], 0
mov dword [ebp - 0x150], eax
cmovne edx, dword [ebp - 0x13c]
mov ecx, dword [ecx + 0x244]
mov dword [ebp - 0x188], ecx
movss dword [ebp - 0x164], xmm0
test eax, 0xff000000
je 0x10038ee4
cmp dword [ebp - 0xfc], 0
jne 0x10038e04
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0x13c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038de1
sub ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x108]
add eax, ecx
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x14c], eax
jmp 0x10038e0a
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x108], eax
je 0x10038ee4
cmp dword [esi + 0x1940], 0
jne 0x10038e2b
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x19c], eax
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x10038e3c
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x148], xmm0
test edx, edx
je 0x10038e9e
movss xmm0, dword [ebp - 0x148]
maxss xmm0, dword [edx]
movss dword [ebp - 0x148], xmm0
movss xmm0, dword [ebp - 0x144]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [ebp - 0x140]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x13c]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x13c], xmm0
push dword [ebp - 0x164]
test edx, edx
mov edx, dword [ebp - 0x14c]
push dword [ebp - 0x168]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x148]
push edx
push dword [ebp - 0x108]
push eax
push dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x19c]
call fcn.1002ccb0
xorps xmm3, xmm3
cmp byte [ebp - 0xf6], 0
je 0x1003909a
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x10038f53
comiss xmm3, xmm0
jae 0x10038f53
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x168], xmm0
fld qword [ebp - 0x168]
fld qword [0x10061898]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x1006182c]
fstp qword [ebp - 0x168]
movsd xmm1, qword [ebp - 0x168]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10038f53
xor cl, cl
jmp 0x10038f55
mov cl, 1
movss xmm0, dword [ebp - 0x15c]
movss xmm6, dword [0x10061844]
addss xmm0, dword [ebp - 0x34]
subss xmm0, dword [ebp - 0x134]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x130]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x10061794]
movss dword [ebp - 0x13c], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0x24], xmm1
addss xmm4, xmm6
cvttss2si eax, xmm0
movss dword [ebp - 0x1c], xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x130], xmm2
movaps xmm0, xmm2
movaps xmm3, xmm2
subss xmm0, dword [esi + 0x1944]
subss xmm3, dword [0x10061870]
addss xmm0, dword [0x10061804]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm0
test cl, cl
je 0x10039075
comiss xmm3, dword [ebp - 0x7c]
jbe 0x10039075
movss xmm5, dword [ebp - 0x124]
comiss xmm5, xmm0
jbe 0x10039075
comiss xmm4, dword [ebp - 0x80]
jbe 0x10039075
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jbe 0x10039075
sub esp, 8
movss dword [ebp - 0x168], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x164], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.1000b120
add esp, 4
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x244]
call fcn.10028920
movss xmm1, dword [ebp - 0x13c]
movss xmm2, dword [ebp - 0x130]
movss xmm6, dword [0x10061844]
cmp byte [ebp - 0x118], 0
jne 0x1003909a
subss xmm2, dword [esi + 0x1944]
subss xmm1, xmm6
movss dword [esi + 0x2f50], xmm2
movss dword [esi + 0x2f4c], xmm1
cmp byte [ebp - 0x198], 0
je 0x100390a8
call fcn.100167e0
cmp byte [ebp - 0x104], 0
je 0x100391bd
mov ecx, dword [0x1006a97c]
movss xmm1, dword [ebp - 0xe8]
addss xmm1, dword [esi + 0x1568]
movss xmm0, dword [ebp - 0x17c]
mov eax, dword [ecx + 0x1ba8]
movss dword [ebp - 0x168], xmm0
movss dword [ebp - 0x164], xmm1
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x10039152
movss xmm2, dword [eax + 0xd0]
lea ecx, [ebp - 0x168]
movaps xmm3, xmm2
movss dword [ebp - 0x24], xmm2
addss xmm3, xmm0
movss xmm0, dword [eax + 0xd4]
addss xmm1, xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [0x10061a00]
call fcn.10016c70
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x24]
call fcn.10016da0
add esp, 8
mov esi, dword [esi + 0x1c30]
mov eax, esi
mov edi, dword [ebp - 0x114]
or eax, 0x101
mov dword [edi + 0x1c30], eax
call fcn.10011360
mov eax, dword [edi + 0x1c50]
mov ecx, dword [ebp - 0x68]
and eax, 0x80
or ecx, eax
mov dword [edi + 0x1c30], esi
mov dword [ebp - 0x13c], ecx
call fcn.10017410
mov esi, edi
cmp dword [esi + 0x1c48], 0
jne 0x100391bd
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0x1c48], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x1c4c], eax
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x1c50], eax
cmp byte [esi + 0x2fa4], 0
je 0x100391ff
cmp byte [ebp - 0x198], 0
jne 0x100391ff
mov eax, dword [0x1006a97c]
lea ecx, [ebp - 0x34]
push dword [ebp - 0xfc]
mov edx, dword [ebp - 0x108]
mov dword [eax + 0x2fbc], 0x1005f6d4
mov dword [eax + 0x2fc0], 0x1005f6d0
call fcn.1001ca40
add esp, 4
movss xmm0, dword [ebp - 0x1a0]
comiss xmm0, dword [0x10061794]
jbe 0x10039258
movss xmm0, dword [ebp - 0x78]
xor edx, edx
addss xmm0, dword [esi + 0x157c]
mov ecx, dword [ebp - 0x194]
movss dword [ebp - 0x168], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [esi + 0x1568]
movss dword [ebp - 0x164], xmm0
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push 1
call fcn.1000b350
add esp, 0xc
mov dl, byte [ebp - 0x10d]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x10039282
test ecx, 0x8000000
jne 0x10039282
mov eax, dword [0x1006a97c]
or dword [eax + 0x1c50], 4
mov word [eax + 0x1bf0], 0x101
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xe9]
cmovne eax, ecx
jmp 0x10035d20