Function at 0x100357e0
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 0x10057ed0
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 0x10035dee
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 0x100358d8
call fcn.100173b0
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.1000a880
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0x1be0], eax
jne 0x1003590c
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x1003591b
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], eax
jne 0x1003593f
push ecx
push dword [ebp - 0x194]
mov edx, 0xb
mov ecx, eax
call fcn.1001d9b0
mov edi, dword [0x1006a97c]
add esp, 8
mov eax, dword [ebp - 0x194]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10035966
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10035966
cmp dl, 0x23
jne 0x10035960
cmp byte [ecx + 1], dl
je 0x10035966
inc ecx
cmp ecx, 0xffffffff
jb 0x10035950
movss xmm1, dword [0x10061a8c]
movss xmm0, dword [edi + 0x1944]
movss dword [ebp - 0x180], xmm1
cmp eax, ecx
jne 0x1003598f
xorps xmm3, xmm3
movss dword [ebp - 0x1a0], xmm3
jmp 0x100359e0
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.1002cbd0
movss xmm0, dword [ebp - 0x168]
xorps xmm3, xmm3
addss xmm0, dword [0x100618e4]
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 0x100359f9
movss xmm0, dword [esi + 0x1944]
mulss xmm0, dword [0x100619c8]
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 0x10035a25
movss xmm0, dword [edi + 0x1c38]
jmp 0x10035a2d
movss xmm0, dword [eax + 0x180]
comiss xmm3, xmm0
jbe 0x10035a6c
cmp dword [eax + 0x170], 0
movss xmm1, dword [eax + 0x208]
jne 0x10035a4c
cmp dword [edi + 0x1f64], 0
je 0x10035a54
movss xmm1, dword [eax + 0x1d8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x100618ec]
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.100172d0
movss xmm1, dword [ebp - 0x1a0]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x10035aaa
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x157c]
jmp 0x10035aad
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.10016d40
cmp byte [ebp - 0x104], 0
je 0x10035e7d
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10016e70
add esp, 8
test al, al
je 0x10035de9
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.1001e2b0
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.1001e1f0
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.1001e1f0
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.1001e1f0
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.100111a0
add esp, 0xc
mov byte [ebp - 0x10d], al
mov ecx, 3
call fcn.1000b3b0
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 0x10035e0e
call fcn.10011440
call fcn.100174e0
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.1005569d
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 0x10035eb4
test dword [ebx + 0x14], 0x10000000
jne 0x10035ea8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10016e70
add esp, 8
test al, al
je 0x10035dee
mov eax, dword [esi + 0x1c50]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
call fcn.1000ca90
mov dl, al
mov byte [ebp - 0x11d], dl
test dl, dl
je 0x10035ed8
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 0x10035f34
cmp dword [esi + 0x1d6c], ecx
je 0x10035f2b
cmp dword [esi + 0x1d60], ecx
jne 0x10035f34
cmp dword [esi + 0x1d88], 2
jne 0x10035f34
mov byte [ebp - 0xf5], 1
jmp 0x10035f3b
mov byte [ebp - 0xf5], 0
test dl, dl
je 0x10035f4f
cmp byte [esi + 0x3e0], 0
mov byte [ebp - 0xea], 1
jne 0x10035f56
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0x104], 0
je 0x10035fcc
test edi, edi
je 0x10035fcc
test eax, eax
jne 0x10035fcc
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.1000a880
mov ecx, dword [0x1006a97c]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10035fbb
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001d9b0
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1c1c], eax
jne 0x10035fcc
mov byte [ebp - 0xe9], 1
jmp 0x10035fec
mov eax, dword [ebp - 0x104]
mov byte [ebp - 0xe9], 0
test al, al
je 0x10036066
mov byte [ebp - 0xe9], 0
test edi, edi
je 0x10036066
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.1000a880
mov ecx, dword [0x1006a97c]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10036040
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001d9b0
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1be0], eax
jne 0x10036060
mov cl, 1
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfd], cl
mov byte [ebp - 0xfc], 0
jmp 0x10036080
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 0x1003609b
mov eax, dword [ebp - 0x154]
movss xmm0, dword [eax + 0x5c]
mov eax, dword [ebp - 0x104]
movss dword [ebp - 0x180], xmm0
jmp 0x100360a3
xor cl, cl
mov byte [ebp - 0xfd], cl
test edi, edi
je 0x100360b2
xor al, 1
cmp byte [edi + 0x53], al
je 0x100360b2
mov al, 1
jmp 0x100360b4
xor al, al
cmp byte [ebp - 0xea], 0
mov byte [ebp - 0xe2], al
mov dword [ebp - 0x124], 1
jne 0x100360fb
cmp byte [ebp - 0xe9], 0
jne 0x100360fb
cmp byte [ebp - 0xf5], 0
jne 0x100360fb
cmp byte [ebp - 0x10c], 0
jne 0x100360fb
mov byte [ebp - 0xe9], 0
test cl, cl
jne 0x10036102
mov byte [ebp - 0xeb], cl
jmp 0x10036117
mov byte [ebp - 0xe9], 1
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 0xeb], 1
cmp dword [esi + 0x1be0], edx
jne 0x1003611f
test al, al
je 0x100363dc
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 0x10036140
mov eax, dword [edi + 0x28]
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0xe8], edx
cmp edx, eax
jle 0x1003618a
test eax, eax
je 0x1003616f
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x28]
jmp 0x10036174
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x24]
push eax
call fcn.10007c50
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 0x100361e1
test eax, eax
je 0x100361c6
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100361cb
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001e640
mov edx, dword [ebp - 0xe8]
lea eax, [edi + 0x18]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003620a
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.10007c50
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 0x100362ad
mov edi, dword [ebx + 0xc]
mov esi, eax
nop dword [eax]
cmp byte [esi], 0
je 0x1003629b
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
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 0x1003629b
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 0x10036250
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 0x10036309
cmp byte [ebp - 0xe2], cl
jne 0x10036309
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 0x1003636c
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 0x100363d0
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 0x100363ae
test cl, cl
je 0x100363a7
test byte [esi + 0x1d70], 4
jne 0x100363ae
mov byte [ebp - 0xfc], 1
cmp byte [ebp - 0x10c], 0
jne 0x100363c9
cmp byte [ebp - 0xea], 0
je 0x100363d0
cmp byte [esi + 0xfc], 0
je 0x100363d0
mov byte [ebp - 0xfc], 1
test edx, 0x2000
je 0x100363dc
mov byte [edi + 0x48], 1
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
je 0x1003649b
cmp byte [ebp - 0xe9], 0
je 0x10036493
mov edx, dword [ebp - 0x158]
call fcn.1000c820
call fcn.10018d90
mov ecx, edx
call fcn.10016510
mov eax, dword [esi + 0x1bf4]
mov edx, dword [ebx + 0x14]
or eax, 3
cmp byte [ebp - 0x104], 0
mov dword [esi + 0x1bf4], eax
jne 0x10036431
test dl, dl
jns 0x1003643a
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 0x10036476
or eax, 0x60
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
test edx, 0x440
je 0x1003648d
or eax, 1
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x100364d8
test edi, edi
jne 0x100364aa
call fcn.1000c8f0
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x100364d8
cmp byte [esi + 0x3e0], 0
je 0x100364e5
cmp byte [ebp - 0xeb], 0
jne 0x100364e5
cmp byte [ebp - 0xe9], 0
jne 0x100364e5
mov byte [ebp - 0xfe], 1
mov cl, 1
jmp 0x100364eb
test edi, edi
je 0x100364e9
cmp byte [ebp - 0xfd], 0
je 0x100364e9
mov cl, 1
jmp 0x100364eb
xor cl, cl
mov byte [ebp - 0xf6], cl
test edi, edi
je 0x1003650e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036506
cmp byte [ebp - 0xfc], 0
je 0x1003650e
test cl, cl
je 0x1003650e
mov cl, 1
jmp 0x10036510
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 0x1003666e
test edi, edi
je 0x1003666e
cmp byte [ebp - 0xf6], 0
jne 0x10036551
test cl, cl
je 0x1003667b
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
inc ecx
mov dword [ebp - 0xe8], ecx
cmp ecx, eax
jle 0x10036591
test eax, eax
je 0x10036572
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10036577
mov ecx, 8
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001e640
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 0x10036616
mov esi, eax
cmp byte [esi], 0
je 0x1003660a
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
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 0x1003660a
mov word [edx], ax
add edx, 2
mov dword [ebp - 0xf4], edx
cmp edx, dword [ebp - 0x124]
jb 0x100365c7
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 0x10036689
test cl, cl
jne 0x10036689
mov eax, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], eax
jne 0x1003669d
test dl, dl
jne 0x1003669d
test edi, edi
je 0x1003669d
mov byte [ebp - 0x11e], 1
cmp byte [edi + 0x30], dl
jne 0x100366a4
mov byte [ebp - 0x11e], 0
cmp byte [ebp - 0x198], 0
je 0x10036737
mov edx, dword [esi + 0x1940]
cmp dword [edx + 0x14], 0x2a
ja 0x100366c2
mov eax, dword [edx + 0x2c]
jmp 0x100366e1
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x100366d8
mov eax, dword [edx + 0x2c]
jmp 0x100366e1
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.100167f0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x150], 0
cmp dword [esi + 0x1be0], ecx
jne 0x10036d99
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 0x100367c7
mov eax, dword [ebp - 0x154]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xd4]
jmp 0x100367d7
movss xmm2, dword [esi + 0x1944]
mulss xmm2, dword [0x100618ac]
cmp byte [ebp - 0xfc], 0
mov cl, byte [esi + 0xb1]
mov byte [ebp - 0xea], cl
je 0x1003680c
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 0x10036baa
mov al, byte [ebp - 0x11d]
test al, al
je 0x10036acc
cmp word [esi + 0x3ea], 2
jb 0x10036acc
cmp byte [esi + 0xfd], 0
jne 0x10036acc
cmp byte [edi + 0x53], 0
je 0x1003684f
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033d70
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.100340e0
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 0x10036a3b
test eax, eax
je 0x1003689a
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
cmp word [eax + ecx*2 - 2], 0xa
je 0x1003689a
xor cl, cl
jmp 0x1003689c
mov cl, 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100368a8
test cl, cl
jne 0x100368cb
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344c0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100368e9
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x40], eax
jne 0x100368e6
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
jmp 0x100368e9
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 4]
inc ecx
cmp ecx, edx
jge 0x100369fc
mov eax, dword [edi + 0xe70]
and eax, 0x8000
mov dword [ebp - 0xe8], 0x3000
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x100369f1
test ecx, ecx
jle 0x100369fa
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x20
je 0x100369e5
cmp eax, 9
je 0x100369e5
cmp ax, word [ebp - 0xe8]
je 0x100369e5
cmp eax, 0x2c
je 0x100369e5
cmp eax, 0x3b
je 0x100369e5
cmp eax, 0x28
je 0x100369e5
cmp eax, 0x29
je 0x100369e5
cmp eax, 0x7b
je 0x100369e5
cmp eax, 0x7d
je 0x100369e5
cmp eax, 0x5b
je 0x100369e5
cmp eax, 0x5d
je 0x100369e5
cmp eax, 0x7c
je 0x100369e5
cmp eax, 0xa
je 0x100369e5
cmp eax, 0xd
je 0x100369e5
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2]
cmp eax, 0x20
je 0x100369de
cmp eax, 9
je 0x100369de
cmp ax, word [ebp - 0xe8]
je 0x100369de
cmp eax, 0x2c
je 0x100369de
cmp eax, 0x3b
je 0x100369de
cmp eax, 0x28
je 0x100369de
cmp eax, 0x29
je 0x100369de
cmp eax, 0x7b
je 0x100369de
cmp eax, 0x7d
je 0x100369de
cmp eax, 0x5b
je 0x100369de
cmp eax, 0x5d
je 0x100369de
cmp eax, 0x7c
je 0x100369de
cmp eax, 0xa
je 0x100369de
cmp eax, 0xd
jne 0x100369e5
mov eax, 1
jmp 0x100369e7
xor eax, eax
test eax, eax
jne 0x100369fa
mov eax, dword [ebp - 0xf0]
inc ecx
cmp ecx, edx
jl 0x10036913
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 0x10036a2a
cmp ecx, eax
jle 0x10036a1a
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10036a23
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x10036a2a
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x10036b97
mov dword [edi + 0x3c], eax
jmp 0x10036b97
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
push 0x200004
movzx esi, word [eax + ecx*2]
mov ecx, edi
call fcn.100344c0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600005
call fcn.100344c0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600001
call fcn.100344c0
add esp, 4
cmp esi, 0xa
je 0x10036aba
cmp byte [ebp - 0x104], 0
je 0x10036aba
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 0x10036b97
cmp byte [esi + 0x3e0], 0
je 0x10036b19
cmp byte [edi + 0xe6d], 0
jne 0x10036b19
test al, al
je 0x10036baa
cmp byte [edi + 0x53], 0
je 0x10036b00
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033d70
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.100340e0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
jmp 0x10036b97
cmp byte [esi + 0xec], 0
je 0x10036baa
cmp byte [edi + 0xe6d], 0
jne 0x10036bb3
movss xmm0, dword [esi + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10036b58
movss xmm0, dword [esi + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10036baa
cmp byte [edi + 0x53], 0
je 0x10036b72
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10033d70
movss xmm2, dword [ebp - 0x20]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036b80
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.100340e0
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 0x10036bc3
cmp byte [esi + 0xec], 0
jne 0x10036bc3
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0xfc], 0
je 0x10036bd5
cmp byte [esi + 0xfe], 0
je 0x10036be2
test cl, cl
je 0x10036beb
cmp byte [esi + 0xff], 0
je 0x10036beb
mov byte [ebp - 0xe1], 1
jmp 0x10036bf2
mov byte [ebp - 0xe1], 0
test edx, 0x400
je 0x10036e32
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10036e32
call fcn.10011000
mov ecx, dword [ebp - 0x118]
test al, al
mov al, byte [ebp - 0xe1]
je 0x10036cb4
test al, al
jne 0x10036cb4
cmp byte [esi + 0xfd], al
jne 0x10036cb4
test cl, cl
jne 0x10036cb4
mov ecx, dword [esi + 0x1524]
mov eax, dword [esi + 0x151c]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10036c60
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x10036ca8
cmp ecx, edx
jb 0x10036c50
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xe8]
push 2
sub esp, 8
mov dword [ebp - 0xe8], 9
call fcn.10035600
add esp, 0xc
test al, al
je 0x10036ca8
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344c0
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 0x10036d99
test al, al
jne 0x10036d61
test cl, cl
jne 0x10036d61
cmp byte [ebp - 0xf5], cl
jne 0x10036d61
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 0x10036d0e
cmp byte [esi + 0xfd], 0
jne 0x10036d4f
push 2
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10035600
add esp, 0xc
test al, al
je 0x10036d49
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344c0
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 0x10036cf0
mov ecx, dword [esi + 0x1520]
lea eax, [esi + 0x151c]
test ecx, ecx
jns 0x10036d93
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.1001e640
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 0x10037926
cmp byte [esi + 0x1bec], cl
jne 0x10037926
cmp byte [ebp - 0xfe], cl
jne 0x10037926
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 0x10036e43
cmp dword [esi + 0x37c], 0xa
jne 0x10036e43
mov byte [ebp - 0xe2], 1
jmp 0x10036e4e
mov al, byte [ebp - 0xe1]
mov ecx, dword [ebp - 0x118]
jmp 0x10036cb7
mov byte [ebp - 0xe2], 0
test al, al
je 0x10036e79
cmp byte [esi + 0xff], 0
mov al, byte [esi + 0xfe]
mov byte [ebp - 0xfd], al
je 0x10036e8c
cmp byte [esi + 0xfc], 0
jne 0x10036e8c
test al, al
jne 0x10036e8c
mov byte [ebp - 0xf5], 1
jmp 0x10036e93
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 0x10036ea7
cmp ecx, 8
jmp 0x10036eaa
cmp ecx, 1
sete al
mov byte [ebp - 0xeb], al
test al, al
je 0x10036ed7
mov eax, dword [0x1006a97c]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x10036ed7
mov ecx, eax
call fcn.10011000
test al, al
jne 0x10036ef1
mov ecx, dword [esi + 0x37c]
cmp ecx, 2
jne 0x10036f1d
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10036f1d
call fcn.10011000
test al, al
je 0x10036f1d
cmp byte [ebp - 0x118], 0
jne 0x10036f1d
cmp byte [ebp - 0x198], 0
jne 0x10036f1d
cmp byte [ebp - 0x104], 0
je 0x10036f14
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036f1d
mov byte [ebp - 0xea], 1
jmp 0x10036f24
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0xeb], 0
je 0x10036f42
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10036f42
call fcn.10011000
test al, al
jne 0x10036f60
cmp dword [esi + 0x37c], 1
jne 0x10036f83
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036f83
call fcn.10011000
test al, al
je 0x10036f83
cmp byte [ebp - 0x198], 0
jne 0x10036f83
cmp byte [ebp - 0x104], 0
je 0x10036f7a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036f83
mov byte [ebp - 0x173], 1
jmp 0x10036f8a
mov byte [ebp - 0x173], 0
cmp byte [ebp - 0xeb], 0
je 0x10036fa8
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10036fa8
call fcn.10011000
test al, al
jne 0x10036fc6
cmp dword [esi + 0x37c], 2
jne 0x10036fd6
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036fd6
call fcn.10011000
test al, al
je 0x10036fd6
cmp byte [ebp - 0x118], 0
mov byte [ebp - 0x11d], 1
je 0x10036fdd
mov byte [ebp - 0x11d], 0
mov dl, byte [ebp - 0xeb]
test dl, dl
je 0x10037020
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10037020
call fcn.10011000
test al, al
je 0x1003701a
cmp byte [ebp - 0x118], 0
jne 0x1003701a
cmp byte [ebp - 0x14c], 0
je 0x1003701a
mov byte [ebp - 0x174], 1
jmp 0x1003702b
mov dl, byte [ebp - 0xeb]
mov byte [ebp - 0x174], 0
test dl, dl
je 0x10037043
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10037043
call fcn.10011000
test al, al
jne 0x10037064
cmp byte [ebp - 0xe2], 0
je 0x1003707d
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003707d
call fcn.10011000
test al, al
je 0x1003707d
cmp byte [ebp - 0x118], 0
jne 0x1003707d
cmp byte [ebp - 0x14c], 0
mov byte [ebp - 0x135], 1
jne 0x10037084
mov byte [ebp - 0x135], 0
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x10037099
call fcn.10011000
test al, al
jne 0x100370ae
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x100370b7
call fcn.10011000
test al, al
je 0x100370b7
mov byte [ebp - 0xe2], 1
jmp 0x100370be
mov byte [ebp - 0xe2], 0
mov edx, 1
xor ecx, ecx
call fcn.10019de0
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x100370e7
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
js 0x10037100
call fcn.10011000
test al, al
je 0x10037100
mov edx, 1
lea ecx, [edx + 1]
call fcn.10019de0
comiss xmm0, xmm5
mov byte [ebp - 0x172], 0
jbe 0x10037107
mov byte [ebp - 0x172], 1
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1003711c
call fcn.10011000
test al, al
jne 0x10037136
mov eax, 1
mov edx, eax
mov ecx, eax
call fcn.10019de0
comiss xmm0, xmm5
mov byte [ebp - 0x175], 0
jbe 0x1003713d
mov byte [ebp - 0x175], 1
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1003718e
call fcn.10011000
test al, al
je 0x1003718e
cmp byte [ebp - 0xf5], 0
je 0x10037162
mov eax, 0x200004
jmp 0x10037176
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.100344c0
jmp 0x100378e9
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x100371bd
call fcn.10011000
test al, al
je 0x100371bd
cmp byte [ebp - 0xf5], 0
je 0x100371b3
mov eax, 0x200005
jmp 0x10037176
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1003716c
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10037237
call fcn.10011000
test al, al
je 0x10037237
cmp byte [ebp - 0x104], 0
je 0x10037237
cmp byte [esi + 0xfc], 0
je 0x10037213
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 0x100378fd
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.100344c0
jmp 0x100378e9
mov ecx, dword [0x1006a97c]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x100372be
call fcn.10011000
test al, al
je 0x100372be
cmp byte [ebp - 0x104], 0
je 0x100372be
cmp byte [esi + 0xfc], 0
je 0x1003729a
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 0x100378fd
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.100344c0
jmp 0x100378e9
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x10037330
call fcn.10011000
test al, al
je 0x10037330
cmp byte [ebp - 0x104], 0
je 0x10037330
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.100344c0
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 0x100378fa
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x1003739e
call fcn.10011000
test al, al
je 0x1003739e
cmp byte [ebp - 0x104], 0
je 0x1003739e
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.100344c0
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 0x100378fa
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x100373e0
call fcn.10011000
test al, al
je 0x100373e0
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.100344c0
jmp 0x100378e9
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x10037422
call fcn.10011000
test al, al
je 0x10037422
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.100344c0
jmp 0x100378e9
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10037465
call fcn.10011000
test al, al
je 0x10037465
cmp byte [ebp - 0x118], 0
jne 0x10037465
cmp byte [ebp - 0xea], 0
jne 0x10037465
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.100344c0
jmp 0x100378e9
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x10037506
call fcn.10011000
test al, al
je 0x10037506
cmp byte [ebp - 0x118], 0
jne 0x10037506
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100374ea
cmp byte [ebp - 0xfd], 0
je 0x100374a3
push 0x60000c
jmp 0x100374cc
cmp byte [ebp - 0x171], 0
je 0x100374ea
cmp byte [esi + 0xff], 0
je 0x100374ea
cmp byte [esi + 0xfe], 0
jne 0x100374ea
cmp byte [esi + 0xfc], 0
jne 0x100374ea
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344c0
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.100344c0
jmp 0x100378e9
cmp byte [ebp - 0xe2], 0
je 0x1003757d
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x104], 0
je 0x10037586
mov cl, byte [esi + 0xfc]
test al, al
je 0x10037532
test cl, cl
je 0x10037586
jmp 0x10037536
test cl, cl
jne 0x10037586
cmp byte [ebp - 0x118], 0
jne 0x100378fd
push 2
sub esp, 8
mov dword [ebp - 0xe8], 0xa
lea ecx, [ebp - 0xe8]
call fcn.10035600
add esp, 0xc
test al, al
je 0x100378fd
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344c0
jmp 0x100378e9
cmp byte [ebp - 0x172], 0
je 0x10037599
mov byte [ebp - 0xfe], 1
mov byte [ebp - 0xe9], 1
jmp 0x100378fd
cmp byte [ebp - 0x175], 0
je 0x100375af
mov cl, 1
mov byte [ebp - 0xfe], cl
jmp 0x10037903
mov al, byte [ebp - 0x174]
test al, al
jne 0x100378ca
cmp byte [ebp - 0x135], al
jne 0x100378ca
cmp byte [ebp - 0xeb], al
je 0x10037606
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10037606
call fcn.10011000
test al, al
je 0x10037606
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 0x100378fd
mov al, byte [ebp - 0xea]
test al, al
jne 0x100377bb
cmp byte [ebp - 0x173], al
jne 0x100377bb
cmp byte [ebp - 0x11d], al
je 0x100378fd
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x10037651
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x10037656
jmp 0x100378fd
mov esi, 0x1005f242
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037660
mov eax, dword [0x1006a97c]
sub ecx, edx
test eax, eax
je 0x10037678
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 0x10037701
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000ab30
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x100376ef
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
push 5
sub esp, 8
call fcn.10035600
add esp, 0xc
test al, al
je 0x100376ea
mov ecx, dword [ebp - 0x12c]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100376a1
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 0x1003779a
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 0x1003774b
cmp edx, ecx
jle 0x10037732
mov dword [edi + 0x40], ecx
mov edx, ecx
cmp dword [edi + 0x44], ecx
jle 0x10037740
mov dword [edi + 0x44], ecx
mov dword [ebp - 0xe8], ecx
cmp edx, dword [ebp - 0xe8]
jne 0x1003774b
mov dword [edi + 0x3c], edx
cmp dword [edi + 0x3c], ecx
jle 0x10037753
mov dword [edi + 0x3c], ecx
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034430
mov edx, dword [edi + 0x3c]
mov ecx, edi
push esi
push dword [ebp - 0x12c]
call fcn.10033f90
add esp, 8
test al, al
je 0x1003778d
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push esi
push 0
call fcn.10035310
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 0x100377ae
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x100377ae
dec dword [ecx + 0x36c]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
jmp 0x100378fa
cmp dword [esi + 0xd4], 0
je 0x1003788b
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x100377dc
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x100377e1
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.1000add0
mov ecx, dword [0x1006a97c]
inc eax
mov dword [ebp - 0xf0], eax
test ecx, ecx
je 0x10037812
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.1000ad60
mov eax, dword [0x1006a97c]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1003786c
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x1006a97c]
add esp, 8
test esi, esi
je 0x1003787a
test eax, eax
je 0x1003787a
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 0x100378fd
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100378ab
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 0x100378fd
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034430
mov byte [edi + 0x52], 0
jmp 0x100378fd
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.100344c0
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 0x10037918
cmp byte [ebp - 0xf6], 0
je 0x10037918
mov al, 1
jmp 0x1003791a
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 0x10038180
test cl, cl
je 0x10037bf6
cmp byte [ebp - 0x118], 0
jne 0x10037bde
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10037988
test dl, dl
je 0x10037984
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10037988
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037968
xor eax, eax
jmp 0x1003798d
sbb eax, eax
or eax, 1
test eax, eax
je 0x10037bde
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 0x10037b21
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x100379e0
cmp esi, edi
jae 0x10037a0a
cmp byte [esi], 0
je 0x10037a0a
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037a0a
inc eax
jmp 0x100379d2
mov edi, dword [ebp - 0x128]
lea edx, [eax + 1]
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0xe8], edx
test edx, edx
jle 0x10037a6d
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
mov dword [ebp - 0xf0], eax
test eax, eax
jle 0x10037a6d
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x10037a49
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 0x10037b16
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x124]
nop dword [eax]
test edi, edi
je 0x10037ac8
cmp esi, edi
jae 0x10037b04
cmp byte [esi], 0
je 0x10037b04
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
mov ecx, dword [ebp - 0xf0]
add esi, eax
mov eax, dword [ebp - 0xf4]
add esp, 4
test ecx, ecx
je 0x10037b04
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xf4], eax
cmp eax, dword [ebp - 0x130]
jb 0x10037ac0
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.10035310
add esp, 8
mov dword [ebp - 0x124], eax
test eax, eax
je 0x10037b76
mov edx, dword [ebp - 0xf0]
xor ecx, ecx
test edx, edx
jle 0x10037b76
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 0x10037b60
mov esi, dword [ebp - 0x114]
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10033f30
mov eax, dword [ebp - 0xe8]
add esp, 4
test eax, eax
jle 0x10037bb3
push eax
push dword [ebp - 0x13c]
xor edx, edx
mov ecx, edi
call fcn.10033f90
add esp, 8
test al, al
je 0x10037bb3
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x10037bd7
mov ecx, dword [0x1006a97c]
test ecx, ecx
je 0x10037bcd
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 0x10038081
test al, 0x20
je 0x10038081
cmp byte [ebp - 0x118], 0
jne 0x10037c63
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 0x10037c51
test eax, eax
je 0x10037c33
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x1c]
jmp 0x10037c38
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x18]
push eax
call fcn.10007c50
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.1000ad60
add esp, 8
mov edx, dword [ebx + 0x14]
test edx, 0x801c0
je 0x10038032
test dl, 0x40
je 0x10037c98
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10037c98
call fcn.10011000
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037c98
mov eax, 0x40
xor ecx, ecx
jmp 0x10037d10
test dl, dl
jns 0x10037ce0
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10037cbe
call fcn.10011000
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037cbe
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x10037d10
mov eax, dword [0x1006a97c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10037ce0
call fcn.10011000
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037ce0
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x10037d10
test edx, 0x80000
je 0x10037cf8
cmp byte [edi + 0xe6e], 0
je 0x10037cf8
mov eax, 0x80000
jmp 0x10037d0b
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x10038032
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 0x10037d56
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.1000add0
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.1000add0
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.1000add0
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 0x10037df9
test al, al
je 0x10037e5a
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037e12
cmp esi, edi
jae 0x10037e3c
cmp byte [esi], 0
je 0x10037e3c
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037e3c
inc eax
jmp 0x10037e04
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 0x10037e60
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x124]
jne 0x10037e72
test al, al
je 0x10037ecd
cmp ecx, edx
jne 0x10037e7b
mov eax, dword [edi + 0x3c]
jmp 0x10037eca
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037e94
cmp esi, edi
jae 0x10037ebe
cmp byte [esi], 0
je 0x10037ebe
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037ebe
inc eax
jmp 0x10037e86
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 0x10037ee8
cmp byte [ebp - 0xe2], 0
je 0x1003802c
cmp eax, ecx
jne 0x10037ef1
mov eax, dword [edi + 0x40]
jmp 0x10037f3a
mov esi, dword [ebp - 0x9c]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x10037f0a
cmp esi, edi
jae 0x10037f34
cmp byte [esi], 0
je 0x10037f34
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x10037f34
inc eax
jmp 0x10037efc
mov edi, dword [ebp - 0x128]
cmp byte [ebp - 0xe2], 0
mov dword [edi + 0x44], eax
je 0x1003802c
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x150]
cmp esi, ecx
jle 0x10037f9c
cmp byte [ebp - 0x15c], 0
je 0x10037f9c
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x10037f99
test eax, eax
je 0x10037f82
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10037f8a
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001e640
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 0x1003800d
mov edi, dword [ebp - 0xf0]
nop word [eax + eax]
cmp byte [edi], 0
je 0x10038001
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.1000ab30
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x10038001
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x124]
jb 0x10037fd0
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 0x1003807e
mov ecx, dword [ebp - 0x108]
mov eax, dword [edi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10038064
test dl, dl
je 0x10038060
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10038064
add eax, 2
add ecx, 2
test dl, dl
jne 0x10038044
xor eax, eax
jmp 0x10038069
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x10038081
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [edi + 8]
jmp 0x10038087
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x10c]
mov dword [edi + 0xe70], 0
test edx, edx
je 0x1003817a
cmp byte [ebp - 0x15c], 0
je 0x1003813c
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 0x10038173
jbe 0x10038168
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 0x10038196
cmp dword [esi + 0x1be0], eax
jne 0x10038196
call fcn.1000c8f0
mov ecx, dword [ebp - 0x104]
test cl, cl
jne 0x1003825f
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
push 1
call fcn.1000ba00
movss xmm1, dword [0x100618ec]
add esp, 4
mov ecx, 7
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.1000b200
movss xmm2, dword [esi + 0x156c]
mov dl, 1
mov ecx, eax
call fcn.1000b7f0
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 0x100382d3
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 0x10038327
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x108], eax
jmp 0x1003832d
mov eax, dword [ebp - 0x108]
cmp byte [ebp - 0xf6], 0
jne 0x10038552
cmp byte [ebp - 0x18c], 0
jne 0x10038552
test cl, cl
je 0x100383a5
mov dl, byte [eax]
lea edi, [eax + 1]
xor ecx, ecx
test dl, dl
je 0x10038368
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x10038356
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xfc], edi
cmp al, 0xa
je 0x1003837b
cmp al, 0xd
je 0x1003837b
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 0x100383ea
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x100383ba
mov edx, dword [edi + 8]
add edx, eax
jmp 0x100383d1
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100383c0
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 0x1003916a
movss xmm1, dword [0x100618ec]
xor ecx, ecx
call fcn.1000b200
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 0x1003916a
cmp dword [ebp - 0xfc], 0
jne 0x1003847d
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0xf0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038464
sub ecx, dword [ebp - 0xf0]
add ecx, dword [ebp - 0x108]
mov eax, dword [esi + 0x1940]
cmp dword [ebp - 0x108], ecx
je 0x1003916a
test eax, eax
jne 0x10038499
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x150], eax
ucomiss xmm2, dword [0x1006183c]
lahf
test ah, 0x44
jp 0x100384ae
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [ebp - 0x170], xmm0
test edx, edx
je 0x10038510
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.1002cd80
jmp 0x1003916a
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 0x100385c2
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 0x100385f5
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 0x1003869e
mov eax, dword [ebp - 0x130]
xor esi, esi
mov edi, dword [ebp - 0x15c]
movzx eax, ax
cmp ax, 0xa
jne 0x1003866c
inc esi
cmp edi, 0xffffffff
jne 0x10038650
cmp ecx, dword [ebp - 0x158]
jb 0x10038650
dec edx
mov dword [ebp - 0x15c], esi
test edx, edx
jle 0x10038686
cmp dword [ebp - 0x190], 0xffffffff
jne 0x1003866c
cmp ecx, dword [ebp - 0x12c]
jb 0x1003866c
dec edx
mov dword [ebp - 0x190], esi
test edx, edx
jle 0x10038686
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 0x10038631
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 0x100386ee
nop
cmp word [ecx - 2], 0xa
je 0x100386ee
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x100386e0
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 0x10038784
mov esi, dword [ebp - 0x158]
mov edi, edx
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003873a
maxss xmm4, xmm1
movaps xmm1, xmm3
jmp 0x1003875c
cmp edx, 0xd
je 0x1003875c
mov edx, eax
cmp edx, dword [edi]
jge 0x1003874f
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10038754
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, esi
jb 0x10038724
comiss xmm1, xmm4
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
movss dword [ebp - 0x15c], xmm4
jbe 0x10038784
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 0x10038886
mov eax, dword [ebp - 0x12c]
mov ecx, eax
mov edx, dword [ebp - 0x10c]
cmp eax, edx
jbe 0x100387d0
cmp word [ecx - 2], 0xa
je 0x100387d0
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x100387c2
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 0x10038864
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x13c], eax
mov esi, eax
cmp eax, 0xa
jne 0x1003881c
maxss xmm7, xmm1
movaps xmm1, xmm3
jmp 0x10038848
cmp esi, 0xd
je 0x10038848
movzx eax, ax
cmp eax, dword [edx]
jge 0x1003883b
mov esi, dword [ebp - 0x13c]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm0, dword [eax + edi*4]
jmp 0x10038840
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [ebp - 0x12c]
jb 0x10038800
comiss xmm1, xmm7
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
jbe 0x10038864
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 0x100388ba
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 0x10038a04
cmp byte [edi + 0xe6c], 0
je 0x10038a04
test dword [ebx + 0x14], 0x1000
jne 0x10038935
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm1
comiss xmm2, xmm4
subss xmm1, dword [esi + 0x1564]
mulss xmm0, dword [0x10061890]
movss dword [ebp - 0x184], xmm1
movaps xmm1, xmm4
jbe 0x10038912
subss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
jmp 0x10038923
subss xmm1, dword [ebp - 0x184]
comiss xmm1, xmm2
jb 0x1003893c
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1003893c
mov dword [edi + 0x38], 0
test cl, cl
je 0x100389f0
movss xmm4, dword [ebp - 0x130]
movss xmm5, dword [ebp - 0x180]
movaps xmm0, xmm4
subss xmm0, dword [esi + 0x1944]
comiss xmm5, xmm0
jbe 0x10038985
movaps xmm5, xmm3
maxss xmm5, xmm0
movss xmm0, dword [ebp - 0x164]
comiss xmm3, xmm5
movss xmm1, dword [esi + 0x1568]
jbe 0x100389be
movaps xmm1, xmm3
jmp 0x100389d2
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 0x1003896b
movss xmm0, dword [ebp - 0x164]
movaps xmm5, xmm4
subss xmm5, xmm0
addss xmm5, xmm2
jmp 0x10038973
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 0x10038d71
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 0x10038a59
movss xmm1, dword [0x100618ec]
jmp 0x10038a61
movss xmm1, dword [0x100618b4]
mov ecx, 0x2f
call fcn.1000b200
cmp byte [ebp - 0x104], 0
xorps xmm4, xmm4
mov dword [ebp - 0x180], eax
je 0x10038a8f
movss dword [ebp - 0x158], xmm4
movss dword [ebp - 0x12c], xmm4
jmp 0x10038aaf
movss xmm0, dword [0x10061ab0]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [0x10061948]
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 0x10038d1d
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 0x10038d1a
movss xmm0, dword [ebp - 0x7c]
comiss xmm0, xmm3
jbe 0x10038b3f
cmp esi, edx
jae 0x10038cfb
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10038cfb
cmp esi, edx
jb 0x10038b26
jmp 0x10038cfb
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 0x10038bdf
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 0x10038bd2
cmp ax, 0xd
je 0x10038bc8
movzx eax, ax
cmp eax, dword [edx]
jge 0x10038bbb
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 0x10038bc0
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x10c]
jb 0x10038b70
jmp 0x10038bdc
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x10038c18
mov eax, dword [ecx + 0x1940]
cmp dword [eax], 0x20
jle 0x10038c00
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10038c05
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100618ac]
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 [0x1006183c]
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 0x10038cf5
comiss xmm4, xmm2
jbe 0x10038cf5
comiss xmm1, dword [ebp - 0x80]
jbe 0x10038cf5
movss xmm0, dword [ebp - 0x14c]
comiss xmm0, xmm7
jbe 0x10038cf5
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.10028bf0
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 0x10038b00
xorps xmm4, xmm4
mov esi, dword [ebp - 0x114]
cmp byte [ebp - 0x104], 0
mov edx, dword [ebp - 0xfc]
jne 0x10038d45
mov eax, edx
sub eax, dword [ebp - 0x108]
cmp eax, 0x200000
jge 0x10038fb1
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 0x10038d76
xorps xmm0, xmm0
jmp 0x10038d82
xorps xmm4, xmm4
jmp 0x10038d23
movss xmm0, dword [0x100618ec]
minss xmm0, xmm2
movss xmm2, dword [0x10061a34]
movss xmm7, dword [0x100618ac]
movss xmm3, dword [ebp - 0x16c]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10038db0
xorps xmm0, xmm0
jmp 0x10038dbc
movss xmm0, dword [0x100618ec]
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 [0x100618ec]
jbe 0x10038de7
xorps xmm0, xmm0
jmp 0x10038dee
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 0x10038e0c
xorps xmm0, xmm0
jmp 0x10038e13
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 0x10038fb4
cmp dword [ebp - 0xfc], 0
jne 0x10038ed4
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0x13c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038eb1
sub ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x108]
add eax, ecx
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x14c], eax
jmp 0x10038eda
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x108], eax
je 0x10038fb4
cmp dword [esi + 0x1940], 0
jne 0x10038efb
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x19c], eax
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x10038f0c
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x148], xmm0
test edx, edx
je 0x10038f6e
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.1002cd80
xorps xmm3, xmm3
cmp byte [ebp - 0xf6], 0
je 0x1003916a
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x10039023
comiss xmm3, xmm0
jae 0x10039023
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x168], xmm0
fld qword [ebp - 0x168]
fld qword [0x10061940]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100618d4]
fstp qword [ebp - 0x168]
movsd xmm1, qword [ebp - 0x168]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10039023
xor cl, cl
jmp 0x10039025
mov cl, 1
movss xmm0, dword [ebp - 0x15c]
movss xmm6, dword [0x100618ec]
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 [0x1006183c]
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 [0x10061918]
addss xmm0, dword [0x100618ac]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm0
test cl, cl
je 0x10039145
comiss xmm3, dword [ebp - 0x7c]
jbe 0x10039145
movss xmm5, dword [ebp - 0x124]
comiss xmm5, xmm0
jbe 0x10039145
comiss xmm4, dword [ebp - 0x80]
jbe 0x10039145
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jbe 0x10039145
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.1000b200
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.100289f0
movss xmm1, dword [ebp - 0x13c]
movss xmm2, dword [ebp - 0x130]
movss xmm6, dword [0x100618ec]
cmp byte [ebp - 0x118], 0
jne 0x1003916a
subss xmm2, dword [esi + 0x1944]
subss xmm1, xmm6
movss dword [esi + 0x2f50], xmm2
movss dword [esi + 0x2f4c], xmm1
cmp byte [ebp - 0x198], 0
je 0x10039178
call fcn.100168b0
cmp byte [ebp - 0x104], 0
je 0x1003928d
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 0x10039222
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 [0x10061ab0]
call fcn.10016d40
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x24]
call fcn.10016e70
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.10011440
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.100174e0
mov esi, edi
cmp dword [esi + 0x1c48], 0
jne 0x1003928d
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 0x100392cf
cmp byte [ebp - 0x198], 0
jne 0x100392cf
mov eax, dword [0x1006a97c]
lea ecx, [ebp - 0x34]
push dword [ebp - 0xfc]
mov edx, dword [ebp - 0x108]
mov dword [eax + 0x2fbc], 0x1005f6d8
mov dword [eax + 0x2fc0], 0x1005f6d4
call fcn.1001cb10
add esp, 4
movss xmm0, dword [ebp - 0x1a0]
comiss xmm0, dword [0x1006183c]
jbe 0x10039328
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.1000b430
add esp, 0xc
mov dl, byte [ebp - 0x10d]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x10039352
test ecx, 0x8000000
jne 0x10039352
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 0x10035df0