Function at 0x10039240
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 0x10063e10
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x10075380]
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 [0x10077b54]
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 0x1003984e
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 0x10039338
call fcn.10019fc0
mov edi, dword [0x10077b54]
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.1000d320
add esp, 4
mov dword [ebp - 0x11c], eax
cmp dword [edi + 0x1be0], eax
jne 0x1003936c
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x1003937b
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], eax
jne 0x1003939f
push ecx
push dword [ebp - 0x194]
mov edx, 0xb
mov ecx, eax
call fcn.10020690
mov edi, dword [0x10077b54]
add esp, 8
mov eax, dword [ebp - 0x194]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100393c6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x100393c6
cmp dl, 0x23
jne 0x100393c0
cmp byte [ecx + 1], dl
je 0x100393c6
inc ecx
cmp ecx, 0xffffffff
jb 0x100393b0
movss xmm1, dword [0x1006e38c]
movss xmm0, dword [edi + 0x1944]
movss dword [ebp - 0x180], xmm1
cmp eax, ecx
jne 0x100393ef
xorps xmm3, xmm3
movss dword [ebp - 0x1a0], xmm3
jmp 0x10039440
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.1002f8b0
movss xmm0, dword [ebp - 0x168]
xorps xmm3, xmm3
addss xmm0, dword [0x1006e1f4]
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 0x10039459
movss xmm0, dword [esi + 0x1944]
mulss xmm0, dword [0x1006e2d8]
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 0x10039485
movss xmm0, dword [edi + 0x1c38]
jmp 0x1003948d
movss xmm0, dword [eax + 0x180]
comiss xmm3, xmm0
jbe 0x100394cc
cmp dword [eax + 0x170], 0
movss xmm1, dword [eax + 0x208]
jne 0x100394ac
cmp dword [edi + 0x1f64], 0
je 0x100394b4
movss xmm1, dword [eax + 0x1d8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x1006e1fc]
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.10019ee0
movss xmm1, dword [ebp - 0x1a0]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1003950a
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x157c]
jmp 0x1003950d
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.10019950
cmp byte [ebp - 0x104], 0
je 0x100398dd
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10019a80
add esp, 8
test al, al
je 0x10039849
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 [0x10077b54]
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.10020f90
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 [0x10077b54]
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.10020ed0
movss xmm0, dword [ebp - 0xf0]
lea eax, [ebp - 0x144]
movss dword [esi + 0x1554], xmm0
mov esi, dword [0x10077b54]
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.10020ed0
movss xmm0, dword [ebp - 0xf0]
lea eax, [ebp - 0x144]
movss dword [esi + 0x1558], xmm0
mov esi, dword [0x10077b54]
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.10020ed0
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.10013c40
add esp, 0xc
mov byte [ebp - 0x10d], al
mov ecx, 3
call fcn.1000de50
mov esi, dword [0x10077b54]
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 0x1003986e
call fcn.10013ee0
call fcn.1001a0f0
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.100612fd
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 0x10039914
test dword [ebx + 0x14], 0x10000000
jne 0x10039908
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x80]
push 0x100
push eax
lea ecx, [ebp - 0x24]
call fcn.10019a80
add esp, 8
test al, al
je 0x1003984e
mov eax, dword [esi + 0x1c50]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
call fcn.1000f530
mov dl, al
mov byte [ebp - 0x11d], dl
test dl, dl
je 0x10039938
mov dword [esi + 0x1ec0], 1
mov edi, dword [0x10077b54]
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 0x10039994
cmp dword [esi + 0x1d6c], ecx
je 0x1003998b
cmp dword [esi + 0x1d60], ecx
jne 0x10039994
cmp dword [esi + 0x1d88], 2
jne 0x10039994
mov byte [ebp - 0xf5], 1
jmp 0x1003999b
mov byte [ebp - 0xf5], 0
test dl, dl
je 0x100399af
cmp byte [esi + 0x3e0], 0
mov byte [ebp - 0xea], 1
jne 0x100399b6
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0x104], 0
je 0x10039a2c
test edi, edi
je 0x10039a2c
test eax, eax
jne 0x10039a2c
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.1000d320
mov ecx, dword [0x10077b54]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10039a1b
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.10020690
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1c1c], eax
jne 0x10039a2c
mov byte [ebp - 0xe9], 1
jmp 0x10039a4c
mov eax, dword [ebp - 0x104]
mov byte [ebp - 0xe9], 0
test al, al
je 0x10039ac6
mov byte [ebp - 0xe9], 0
test edi, edi
je 0x10039ac6
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.1000d320
mov ecx, dword [0x10077b54]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x10039aa0
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.10020690
mov eax, dword [ebp - 0xf0]
add esp, 8
cmp dword [esi + 0x1be0], eax
jne 0x10039ac0
mov cl, 1
mov byte [ebp - 0xfe], 0
mov byte [ebp - 0xfd], cl
mov byte [ebp - 0xfc], 0
jmp 0x10039ae0
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 0x10039afb
mov eax, dword [ebp - 0x154]
movss xmm0, dword [eax + 0x5c]
mov eax, dword [ebp - 0x104]
movss dword [ebp - 0x180], xmm0
jmp 0x10039b03
xor cl, cl
mov byte [ebp - 0xfd], cl
test edi, edi
je 0x10039b12
xor al, 1
cmp byte [edi + 0x53], al
je 0x10039b12
mov al, 1
jmp 0x10039b14
xor al, al
cmp byte [ebp - 0xea], 0
mov byte [ebp - 0xe2], al
mov dword [ebp - 0x124], 1
jne 0x10039b5b
cmp byte [ebp - 0xe9], 0
jne 0x10039b5b
cmp byte [ebp - 0xf5], 0
jne 0x10039b5b
cmp byte [ebp - 0x10c], 0
jne 0x10039b5b
mov byte [ebp - 0xe9], 0
test cl, cl
jne 0x10039b62
mov byte [ebp - 0xeb], cl
jmp 0x10039b77
mov byte [ebp - 0xe9], 1
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 0xeb], 1
cmp dword [esi + 0x1be0], edx
jne 0x10039b7f
test al, al
je 0x10039e3c
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 0x10039ba0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0xe8], edx
cmp edx, eax
jle 0x10039bea
test eax, eax
je 0x10039bcf
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x28]
jmp 0x10039bd4
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x24]
push eax
call fcn.1000a720
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 0x10039c41
test eax, eax
je 0x10039c26
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10039c2b
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10021320
mov edx, dword [ebp - 0xe8]
lea eax, [edi + 0x18]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10039c6a
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.1000a720
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 0x10039d0d
mov edi, dword [ebx + 0xc]
mov esi, eax
nop dword [eax]
cmp byte [esi], 0
je 0x10039cfb
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
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 0x10039cfb
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 0x10039cb0
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 0x10039d69
cmp byte [ebp - 0xe2], cl
jne 0x10039d69
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 0x10039dcc
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 0x10039e30
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 0x10039e0e
test cl, cl
je 0x10039e07
test byte [esi + 0x1d70], 4
jne 0x10039e0e
mov byte [ebp - 0xfc], 1
cmp byte [ebp - 0x10c], 0
jne 0x10039e29
cmp byte [ebp - 0xea], 0
je 0x10039e30
cmp byte [esi + 0xfc], 0
je 0x10039e30
mov byte [ebp - 0xfc], 1
test edx, 0x2000
je 0x10039e3c
mov byte [edi + 0x48], 1
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
je 0x10039efb
cmp byte [ebp - 0xe9], 0
je 0x10039ef3
mov edx, dword [ebp - 0x158]
call fcn.1000f2c0
call fcn.1001ba70
mov ecx, edx
call fcn.10018fb0
mov eax, dword [esi + 0x1bf4]
mov edx, dword [ebx + 0x14]
or eax, 3
cmp byte [ebp - 0x104], 0
mov dword [esi + 0x1bf4], eax
jne 0x10039e91
test dl, dl
jns 0x10039e9a
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 0x10039ed6
or eax, 0x60
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
test edx, 0x440
je 0x10039eed
or eax, 1
mov dword [esi + 0x1c04], ecx
mov dword [esi + 0x1c00], eax
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x10039f38
test edi, edi
jne 0x10039f0a
call fcn.1000f390
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x10039f38
cmp byte [esi + 0x3e0], 0
je 0x10039f45
cmp byte [ebp - 0xeb], 0
jne 0x10039f45
cmp byte [ebp - 0xe9], 0
jne 0x10039f45
mov byte [ebp - 0xfe], 1
mov cl, 1
jmp 0x10039f4b
test edi, edi
je 0x10039f49
cmp byte [ebp - 0xfd], 0
je 0x10039f49
mov cl, 1
jmp 0x10039f4b
xor cl, cl
mov byte [ebp - 0xf6], cl
test edi, edi
je 0x10039f6e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10039f66
cmp byte [ebp - 0xfc], 0
je 0x10039f6e
test cl, cl
je 0x10039f6e
mov cl, 1
jmp 0x10039f70
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 0x1003a0ce
test edi, edi
je 0x1003a0ce
cmp byte [ebp - 0xf6], 0
jne 0x10039fb1
test cl, cl
je 0x1003a0db
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
inc ecx
mov dword [ebp - 0xe8], ecx
cmp ecx, eax
jle 0x10039ff1
test eax, eax
je 0x10039fd2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10039fd7
mov ecx, 8
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10021320
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 0x1003a076
mov esi, eax
cmp byte [esi], 0
je 0x1003a06a
push 0
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
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 0x1003a06a
mov word [edx], ax
add edx, 2
mov dword [ebp - 0xf4], edx
cmp edx, dword [ebp - 0x124]
jb 0x1003a027
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 0x1003a0e9
test cl, cl
jne 0x1003a0e9
mov eax, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], eax
jne 0x1003a0fd
test dl, dl
jne 0x1003a0fd
test edi, edi
je 0x1003a0fd
mov byte [ebp - 0x11e], 1
cmp byte [edi + 0x30], dl
jne 0x1003a104
mov byte [ebp - 0x11e], 0
cmp byte [ebp - 0x198], 0
je 0x1003a197
mov edx, dword [esi + 0x1940]
cmp dword [edx + 0x14], 0x2a
ja 0x1003a122
mov eax, dword [edx + 0x2c]
jmp 0x1003a141
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1003a138
mov eax, dword [edx + 0x2c]
jmp 0x1003a141
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.10019290
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x150], 0
cmp dword [esi + 0x1be0], ecx
jne 0x1003a7f9
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 0x1003a227
mov eax, dword [ebp - 0x154]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xd4]
jmp 0x1003a237
movss xmm2, dword [esi + 0x1944]
mulss xmm2, dword [0x1006e1bc]
cmp byte [ebp - 0xfc], 0
mov cl, byte [esi + 0xb1]
mov byte [ebp - 0xea], cl
je 0x1003a26c
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 0x1003a60a
mov al, byte [ebp - 0x11d]
test al, al
je 0x1003a52c
cmp word [esi + 0x3ea], 2
jb 0x1003a52c
cmp byte [esi + 0xfd], 0
jne 0x1003a52c
cmp byte [edi + 0x53], 0
je 0x1003a2af
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100377d0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10037b40
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 0x1003a49b
test eax, eax
je 0x1003a2fa
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
cmp word [eax + ecx*2 - 2], 0xa
je 0x1003a2fa
xor cl, cl
jmp 0x1003a2fc
mov cl, 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003a308
test cl, cl
jne 0x1003a32b
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037f20
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003a349
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x40], eax
jne 0x1003a346
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
jmp 0x1003a349
mov dword [edi + 0x3c], eax
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 4]
inc ecx
cmp ecx, edx
jge 0x1003a45c
mov eax, dword [edi + 0xe70]
and eax, 0x8000
mov dword [ebp - 0xe8], 0x3000
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x1003a451
test ecx, ecx
jle 0x1003a45a
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x20
je 0x1003a445
cmp eax, 9
je 0x1003a445
cmp ax, word [ebp - 0xe8]
je 0x1003a445
cmp eax, 0x2c
je 0x1003a445
cmp eax, 0x3b
je 0x1003a445
cmp eax, 0x28
je 0x1003a445
cmp eax, 0x29
je 0x1003a445
cmp eax, 0x7b
je 0x1003a445
cmp eax, 0x7d
je 0x1003a445
cmp eax, 0x5b
je 0x1003a445
cmp eax, 0x5d
je 0x1003a445
cmp eax, 0x7c
je 0x1003a445
cmp eax, 0xa
je 0x1003a445
cmp eax, 0xd
je 0x1003a445
mov eax, dword [edi + 0x14]
movzx eax, word [eax + ecx*2]
cmp eax, 0x20
je 0x1003a43e
cmp eax, 9
je 0x1003a43e
cmp ax, word [ebp - 0xe8]
je 0x1003a43e
cmp eax, 0x2c
je 0x1003a43e
cmp eax, 0x3b
je 0x1003a43e
cmp eax, 0x28
je 0x1003a43e
cmp eax, 0x29
je 0x1003a43e
cmp eax, 0x7b
je 0x1003a43e
cmp eax, 0x7d
je 0x1003a43e
cmp eax, 0x5b
je 0x1003a43e
cmp eax, 0x5d
je 0x1003a43e
cmp eax, 0x7c
je 0x1003a43e
cmp eax, 0xa
je 0x1003a43e
cmp eax, 0xd
jne 0x1003a445
mov eax, 1
jmp 0x1003a447
xor eax, eax
test eax, eax
jne 0x1003a45a
mov eax, dword [ebp - 0xf0]
inc ecx
cmp ecx, edx
jl 0x1003a373
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 0x1003a48a
cmp ecx, eax
jle 0x1003a47a
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1003a483
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1003a48a
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1003a5f7
mov dword [edi + 0x3c], eax
jmp 0x1003a5f7
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0xe8]
push 0x200004
movzx esi, word [eax + ecx*2]
mov ecx, edi
call fcn.10037f20
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600005
call fcn.10037f20
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x600001
call fcn.10037f20
add esp, 4
cmp esi, 0xa
je 0x1003a51a
cmp byte [ebp - 0x104], 0
je 0x1003a51a
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 0x1003a5f7
cmp byte [esi + 0x3e0], 0
je 0x1003a579
cmp byte [edi + 0xe6d], 0
jne 0x1003a579
test al, al
je 0x1003a60a
cmp byte [edi + 0x53], 0
je 0x1003a560
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100377d0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10037b40
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
jmp 0x1003a5f7
cmp byte [esi + 0xec], 0
je 0x1003a60a
cmp byte [edi + 0xe6d], 0
jne 0x1003a613
movss xmm0, dword [esi + 0x370]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003a5b8
movss xmm0, dword [esi + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003a60a
cmp byte [edi + 0x53], 0
je 0x1003a5d2
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100377d0
movss xmm2, dword [ebp - 0x20]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003a5e0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10037b40
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 0x1003a623
cmp byte [esi + 0xec], 0
jne 0x1003a623
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0xfc], 0
je 0x1003a635
cmp byte [esi + 0xfe], 0
je 0x1003a642
test cl, cl
je 0x1003a64b
cmp byte [esi + 0xff], 0
je 0x1003a64b
mov byte [ebp - 0xe1], 1
jmp 0x1003a652
mov byte [ebp - 0xe1], 0
test edx, 0x400
je 0x1003a892
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1003a892
call fcn.10013aa0
mov ecx, dword [ebp - 0x118]
test al, al
mov al, byte [ebp - 0xe1]
je 0x1003a714
test al, al
jne 0x1003a714
cmp byte [esi + 0xfd], al
jne 0x1003a714
test cl, cl
jne 0x1003a714
mov ecx, dword [esi + 0x1524]
mov eax, dword [esi + 0x151c]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1003a6c0
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1003a708
cmp ecx, edx
jb 0x1003a6b0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xe8]
push 2
sub esp, 8
mov dword [ebp - 0xe8], 9
call fcn.10039060
add esp, 0xc
test al, al
je 0x1003a708
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037f20
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 0x1003a7f9
test al, al
jne 0x1003a7c1
test cl, cl
jne 0x1003a7c1
cmp byte [ebp - 0xf5], cl
jne 0x1003a7c1
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 0x1003a76e
cmp byte [esi + 0xfd], 0
jne 0x1003a7af
push 2
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10039060
add esp, 0xc
test al, al
je 0x1003a7a9
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037f20
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 0x1003a750
mov ecx, dword [esi + 0x1520]
lea eax, [esi + 0x151c]
test ecx, ecx
jns 0x1003a7f3
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.10021320
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 0x1003b386
cmp byte [esi + 0x1bec], cl
jne 0x1003b386
cmp byte [ebp - 0xfe], cl
jne 0x1003b386
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 0x1003a8a3
cmp dword [esi + 0x37c], 0xa
jne 0x1003a8a3
mov byte [ebp - 0xe2], 1
jmp 0x1003a8ae
mov al, byte [ebp - 0xe1]
mov ecx, dword [ebp - 0x118]
jmp 0x1003a717
mov byte [ebp - 0xe2], 0
test al, al
je 0x1003a8d9
cmp byte [esi + 0xff], 0
mov al, byte [esi + 0xfe]
mov byte [ebp - 0xfd], al
je 0x1003a8ec
cmp byte [esi + 0xfc], 0
jne 0x1003a8ec
test al, al
jne 0x1003a8ec
mov byte [ebp - 0xf5], 1
jmp 0x1003a8f3
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 0x1003a907
cmp ecx, 8
jmp 0x1003a90a
cmp ecx, 1
sete al
mov byte [ebp - 0xeb], al
test al, al
je 0x1003a937
mov eax, dword [0x10077b54]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x1003a937
mov ecx, eax
call fcn.10013aa0
test al, al
jne 0x1003a951
mov ecx, dword [esi + 0x37c]
cmp ecx, 2
jne 0x1003a97d
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1003a97d
call fcn.10013aa0
test al, al
je 0x1003a97d
cmp byte [ebp - 0x118], 0
jne 0x1003a97d
cmp byte [ebp - 0x198], 0
jne 0x1003a97d
cmp byte [ebp - 0x104], 0
je 0x1003a974
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003a97d
mov byte [ebp - 0xea], 1
jmp 0x1003a984
mov byte [ebp - 0xea], 0
cmp byte [ebp - 0xeb], 0
je 0x1003a9a2
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1003a9a2
call fcn.10013aa0
test al, al
jne 0x1003a9c0
cmp dword [esi + 0x37c], 1
jne 0x1003a9e3
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1003a9e3
call fcn.10013aa0
test al, al
je 0x1003a9e3
cmp byte [ebp - 0x198], 0
jne 0x1003a9e3
cmp byte [ebp - 0x104], 0
je 0x1003a9da
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003a9e3
mov byte [ebp - 0x173], 1
jmp 0x1003a9ea
mov byte [ebp - 0x173], 0
cmp byte [ebp - 0xeb], 0
je 0x1003aa08
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1003aa08
call fcn.10013aa0
test al, al
jne 0x1003aa26
cmp dword [esi + 0x37c], 2
jne 0x1003aa36
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1003aa36
call fcn.10013aa0
test al, al
je 0x1003aa36
cmp byte [ebp - 0x118], 0
mov byte [ebp - 0x11d], 1
je 0x1003aa3d
mov byte [ebp - 0x11d], 0
mov dl, byte [ebp - 0xeb]
test dl, dl
je 0x1003aa80
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003aa80
call fcn.10013aa0
test al, al
je 0x1003aa7a
cmp byte [ebp - 0x118], 0
jne 0x1003aa7a
cmp byte [ebp - 0x14c], 0
je 0x1003aa7a
mov byte [ebp - 0x174], 1
jmp 0x1003aa8b
mov dl, byte [ebp - 0xeb]
mov byte [ebp - 0x174], 0
test dl, dl
je 0x1003aaa3
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1003aaa3
call fcn.10013aa0
test al, al
jne 0x1003aac4
cmp byte [ebp - 0xe2], 0
je 0x1003aadd
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003aadd
call fcn.10013aa0
test al, al
je 0x1003aadd
cmp byte [ebp - 0x118], 0
jne 0x1003aadd
cmp byte [ebp - 0x14c], 0
mov byte [ebp - 0x135], 1
jne 0x1003aae4
mov byte [ebp - 0x135], 0
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1003aaf9
call fcn.10013aa0
test al, al
jne 0x1003ab0e
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1003ab17
call fcn.10013aa0
test al, al
je 0x1003ab17
mov byte [ebp - 0xe2], 1
jmp 0x1003ab1e
mov byte [ebp - 0xe2], 0
mov edx, 1
xor ecx, ecx
call fcn.1001cac0
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x1003ab47
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x64]
test ecx, ecx
js 0x1003ab60
call fcn.10013aa0
test al, al
je 0x1003ab60
mov edx, 1
lea ecx, [edx + 1]
call fcn.1001cac0
comiss xmm0, xmm5
mov byte [ebp - 0x172], 0
jbe 0x1003ab67
mov byte [ebp - 0x172], 1
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1003ab7c
call fcn.10013aa0
test al, al
jne 0x1003ab96
mov eax, 1
mov edx, eax
mov ecx, eax
call fcn.1001cac0
comiss xmm0, xmm5
mov byte [ebp - 0x175], 0
jbe 0x1003ab9d
mov byte [ebp - 0x175], 1
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1003abee
call fcn.10013aa0
test al, al
je 0x1003abee
cmp byte [ebp - 0xf5], 0
je 0x1003abc2
mov eax, 0x200004
jmp 0x1003abd6
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.10037f20
jmp 0x1003b349
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1003ac1d
call fcn.10013aa0
test al, al
je 0x1003ac1d
cmp byte [ebp - 0xf5], 0
je 0x1003ac13
mov eax, 0x200005
jmp 0x1003abd6
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1003abcc
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1003ac97
call fcn.10013aa0
test al, al
je 0x1003ac97
cmp byte [ebp - 0x104], 0
je 0x1003ac97
cmp byte [esi + 0xfc], 0
je 0x1003ac73
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 0x1003b35d
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.10037f20
jmp 0x1003b349
mov ecx, dword [0x10077b54]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x1003ad1e
call fcn.10013aa0
test al, al
je 0x1003ad1e
cmp byte [ebp - 0x104], 0
je 0x1003ad1e
cmp byte [esi + 0xfc], 0
je 0x1003acfa
mov ecx, dword [ebp - 0x154]
movss xmm0, dword [esi + 0x1944]
mov eax, dword [0x10077b54]
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 0x1003b35d
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.10037f20
jmp 0x1003b349
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x1003ad90
call fcn.10013aa0
test al, al
je 0x1003ad90
cmp byte [ebp - 0x104], 0
je 0x1003ad90
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.10037f20
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 0x1003b35a
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x1003adfe
call fcn.10013aa0
test al, al
je 0x1003adfe
cmp byte [ebp - 0x104], 0
je 0x1003adfe
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.10037f20
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 0x1003b35a
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1003ae40
call fcn.10013aa0
test al, al
je 0x1003ae40
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.10037f20
jmp 0x1003b349
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1003ae82
call fcn.10013aa0
test al, al
je 0x1003ae82
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.10037f20
jmp 0x1003b349
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1003aec5
call fcn.10013aa0
test al, al
je 0x1003aec5
cmp byte [ebp - 0x118], 0
jne 0x1003aec5
cmp byte [ebp - 0xea], 0
jne 0x1003aec5
mov ecx, dword [ebp - 0xfc]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.10037f20
jmp 0x1003b349
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1003af66
call fcn.10013aa0
test al, al
je 0x1003af66
cmp byte [ebp - 0x118], 0
jne 0x1003af66
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003af4a
cmp byte [ebp - 0xfd], 0
je 0x1003af03
push 0x60000c
jmp 0x1003af2c
cmp byte [ebp - 0x171], 0
je 0x1003af4a
cmp byte [esi + 0xff], 0
je 0x1003af4a
cmp byte [esi + 0xfe], 0
jne 0x1003af4a
cmp byte [esi + 0xfc], 0
jne 0x1003af4a
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037f20
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.10037f20
jmp 0x1003b349
cmp byte [ebp - 0xe2], 0
je 0x1003afdd
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x104], 0
je 0x1003afe6
mov cl, byte [esi + 0xfc]
test al, al
je 0x1003af92
test cl, cl
je 0x1003afe6
jmp 0x1003af96
test cl, cl
jne 0x1003afe6
cmp byte [ebp - 0x118], 0
jne 0x1003b35d
push 2
sub esp, 8
mov dword [ebp - 0xe8], 0xa
lea ecx, [ebp - 0xe8]
call fcn.10039060
add esp, 0xc
test al, al
je 0x1003b35d
push dword [ebp - 0xe8]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037f20
jmp 0x1003b349
cmp byte [ebp - 0x172], 0
je 0x1003aff9
mov byte [ebp - 0xfe], 1
mov byte [ebp - 0xe9], 1
jmp 0x1003b35d
cmp byte [ebp - 0x175], 0
je 0x1003b00f
mov cl, 1
mov byte [ebp - 0xfe], cl
jmp 0x1003b363
mov al, byte [ebp - 0x174]
test al, al
jne 0x1003b32a
cmp byte [ebp - 0x135], al
jne 0x1003b32a
cmp byte [ebp - 0xeb], al
je 0x1003b066
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1003b066
call fcn.10013aa0
test al, al
je 0x1003b066
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 0x1003b35d
mov al, byte [ebp - 0xea]
test al, al
jne 0x1003b21b
cmp byte [ebp - 0x173], al
jne 0x1003b21b
cmp byte [ebp - 0x11d], al
je 0x1003b35d
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1003b0b1
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003b0b6
jmp 0x1003b35d
mov esi, 0x1006b552
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b0c0
mov eax, dword [0x10077b54]
sub ecx, edx
test eax, eax
je 0x1003b0d8
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 0x1003b161
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000d5d0
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x1003b14f
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
push 5
sub esp, 8
call fcn.10039060
add esp, 0xc
test al, al
je 0x1003b14a
mov ecx, dword [ebp - 0x12c]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1003b101
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 0x1003b1fa
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 0x1003b1ab
cmp edx, ecx
jle 0x1003b192
mov dword [edi + 0x40], ecx
mov edx, ecx
cmp dword [edi + 0x44], ecx
jle 0x1003b1a0
mov dword [edi + 0x44], ecx
mov dword [ebp - 0xe8], ecx
cmp edx, dword [ebp - 0xe8]
jne 0x1003b1ab
mov dword [edi + 0x3c], edx
cmp dword [edi + 0x3c], ecx
jle 0x1003b1b3
mov dword [edi + 0x3c], ecx
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037e90
mov edx, dword [edi + 0x3c]
mov ecx, edi
push esi
push dword [ebp - 0x12c]
call fcn.100379f0
add esp, 8
test al, al
je 0x1003b1ed
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push esi
push 0
call fcn.10038d70
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 0x1003b20e
mov ecx, dword [0x10077b54]
test ecx, ecx
je 0x1003b20e
dec dword [ecx + 0x36c]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
jmp 0x1003b35a
cmp dword [esi + 0xd4], 0
je 0x1003b2eb
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1003b23c
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1003b241
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.1000d870
mov ecx, dword [0x10077b54]
inc eax
mov dword [ebp - 0xf0], eax
test ecx, ecx
je 0x1003b272
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.1000d800
mov eax, dword [0x10077b54]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1003b2cc
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x10077b54]
add esp, 8
test esi, esi
je 0x1003b2da
test eax, eax
je 0x1003b2da
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 0x1003b35d
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003b30b
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 0x1003b35d
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10037e90
mov byte [edi + 0x52], 0
jmp 0x1003b35d
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10037f20
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 0x1003b378
cmp byte [ebp - 0xf6], 0
je 0x1003b378
mov al, 1
jmp 0x1003b37a
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 0x1003bbe0
test cl, cl
je 0x1003b656
cmp byte [ebp - 0x118], 0
jne 0x1003b63e
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003b3e8
test dl, dl
je 0x1003b3e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003b3e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003b3c8
xor eax, eax
jmp 0x1003b3ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003b63e
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 0x1003b581
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x1003b440
cmp esi, edi
jae 0x1003b46a
cmp byte [esi], 0
je 0x1003b46a
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x1003b46a
inc eax
jmp 0x1003b432
mov edi, dword [ebp - 0x128]
lea edx, [eax + 1]
mov esi, dword [ebp - 0x114]
mov dword [ebp - 0xe8], edx
test edx, edx
jle 0x1003b4cd
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
mov dword [ebp - 0xf0], eax
test eax, eax
jle 0x1003b4cd
mov ecx, dword [0x10077b54]
test ecx, ecx
je 0x1003b4a9
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 0x1003b576
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x124]
nop dword [eax]
test edi, edi
je 0x1003b528
cmp esi, edi
jae 0x1003b564
cmp byte [esi], 0
je 0x1003b564
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
mov ecx, dword [ebp - 0xf0]
add esi, eax
mov eax, dword [ebp - 0xf4]
add esp, 4
test ecx, ecx
je 0x1003b564
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xf4], eax
cmp eax, dword [ebp - 0x130]
jb 0x1003b520
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.10038d70
add esp, 8
mov dword [ebp - 0x124], eax
test eax, eax
je 0x1003b5d6
mov edx, dword [ebp - 0xf0]
xor ecx, ecx
test edx, edx
jle 0x1003b5d6
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 0x1003b5c0
mov esi, dword [ebp - 0x114]
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10037990
mov eax, dword [ebp - 0xe8]
add esp, 4
test eax, eax
jle 0x1003b613
push eax
push dword [ebp - 0x13c]
xor edx, edx
mov ecx, edi
call fcn.100379f0
add esp, 8
test al, al
je 0x1003b613
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x1003b637
mov ecx, dword [0x10077b54]
test ecx, ecx
je 0x1003b62d
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 0x1003bae1
test al, 0x20
je 0x1003bae1
cmp byte [ebp - 0x118], 0
jne 0x1003b6c3
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 0x1003b6b1
test eax, eax
je 0x1003b693
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x1c]
jmp 0x1003b698
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x18]
push eax
call fcn.1000a720
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.1000d800
add esp, 8
mov edx, dword [ebx + 0x14]
test edx, 0x801c0
je 0x1003ba92
test dl, 0x40
je 0x1003b6f8
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1003b6f8
call fcn.10013aa0
mov edx, dword [ebx + 0x14]
test al, al
je 0x1003b6f8
mov eax, 0x40
xor ecx, ecx
jmp 0x1003b770
test dl, dl
jns 0x1003b740
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1003b71e
call fcn.10013aa0
mov edx, dword [ebx + 0x14]
test al, al
je 0x1003b71e
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x1003b770
mov eax, dword [0x10077b54]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1003b740
call fcn.10013aa0
mov edx, dword [ebx + 0x14]
test al, al
je 0x1003b740
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x1003b770
test edx, 0x80000
je 0x1003b758
cmp byte [edi + 0xe6e], 0
je 0x1003b758
mov eax, 0x80000
jmp 0x1003b76b
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x1003ba92
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 0x1003b7b6
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.1000d870
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.1000d870
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.1000d870
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 0x1003b859
test al, al
je 0x1003b8ba
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x1003b872
cmp esi, edi
jae 0x1003b89c
cmp byte [esi], 0
je 0x1003b89c
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x1003b89c
inc eax
jmp 0x1003b864
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 0x1003b8c0
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x124]
jne 0x1003b8d2
test al, al
je 0x1003b92d
cmp ecx, edx
jne 0x1003b8db
mov eax, dword [edi + 0x3c]
jmp 0x1003b92a
mov esi, dword [ebp - 0x9c]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x1003b8f4
cmp esi, edi
jae 0x1003b91e
cmp byte [esi], 0
je 0x1003b91e
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x1003b91e
inc eax
jmp 0x1003b8e6
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 0x1003b948
cmp byte [ebp - 0xe2], 0
je 0x1003ba8c
cmp eax, ecx
jne 0x1003b951
mov eax, dword [edi + 0x40]
jmp 0x1003b99a
mov esi, dword [ebp - 0x9c]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xf4], eax
test edi, edi
je 0x1003b96a
cmp esi, edi
jae 0x1003b994
cmp byte [esi], 0
je 0x1003b994
push edi
mov edx, esi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf4]
je 0x1003b994
inc eax
jmp 0x1003b95c
mov edi, dword [ebp - 0x128]
cmp byte [ebp - 0xe2], 0
mov dword [edi + 0x44], eax
je 0x1003ba8c
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x150]
cmp esi, ecx
jle 0x1003b9fc
cmp byte [ebp - 0x15c], 0
je 0x1003b9fc
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1003b9f9
test eax, eax
je 0x1003b9e2
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003b9ea
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10021320
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 0x1003ba6d
mov edi, dword [ebp - 0xf0]
nop word [eax + eax]
cmp byte [edi], 0
je 0x1003ba61
push 0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.1000d5d0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x1003ba61
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x124]
jb 0x1003ba30
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 0x1003bade
mov ecx, dword [ebp - 0x108]
mov eax, dword [edi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003bac4
test dl, dl
je 0x1003bac0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003bac4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003baa4
xor eax, eax
jmp 0x1003bac9
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x1003bae1
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x10c], ecx
mov ecx, dword [edi + 8]
jmp 0x1003bae7
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x10c]
mov dword [edi + 0xe70], 0
test edx, edx
je 0x1003bbda
cmp byte [ebp - 0x15c], 0
je 0x1003bb9c
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 0x1003bbd3
jbe 0x1003bbc8
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 0x1003bbf6
cmp dword [esi + 0x1be0], eax
jne 0x1003bbf6
call fcn.1000f390
mov ecx, dword [ebp - 0x104]
test cl, cl
jne 0x1003bcbf
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x80]
push 1
call fcn.1000e4a0
movss xmm1, dword [0x1006e1fc]
add esp, 4
mov ecx, 7
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.1000dca0
movss xmm2, dword [esi + 0x156c]
mov dl, 1
mov ecx, eax
call fcn.1000e290
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 0x1003bd33
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 0x1003bd87
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x108], eax
jmp 0x1003bd8d
mov eax, dword [ebp - 0x108]
cmp byte [ebp - 0xf6], 0
jne 0x1003bfb2
cmp byte [ebp - 0x18c], 0
jne 0x1003bfb2
test cl, cl
je 0x1003be05
mov dl, byte [eax]
lea edi, [eax + 1]
xor ecx, ecx
test dl, dl
je 0x1003bdc8
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1003bdb6
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xfc], edi
cmp al, 0xa
je 0x1003bddb
cmp al, 0xd
je 0x1003bddb
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 0x1003be4a
mov ecx, dword [ebp - 0x11c]
cmp dword [esi + 0x1be0], ecx
jne 0x1003be1a
mov edx, dword [edi + 8]
add edx, eax
jmp 0x1003be31
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003be20
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 0x1003cbca
movss xmm1, dword [0x1006e1fc]
xor ecx, ecx
call fcn.1000dca0
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 0x1003cbca
cmp dword [ebp - 0xfc], 0
jne 0x1003bedd
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0xf0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bec4
sub ecx, dword [ebp - 0xf0]
add ecx, dword [ebp - 0x108]
mov eax, dword [esi + 0x1940]
cmp dword [ebp - 0x108], ecx
je 0x1003cbca
test eax, eax
jne 0x1003bef9
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x150], eax
ucomiss xmm2, dword [0x1006e140]
lahf
test ah, 0x44
jp 0x1003bf0e
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [ebp - 0x170], xmm0
test edx, edx
je 0x1003bf70
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.1002fa60
jmp 0x1003cbca
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 0x1003c022
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 0x1003c055
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 0x1003c0fe
mov eax, dword [ebp - 0x130]
xor esi, esi
mov edi, dword [ebp - 0x15c]
movzx eax, ax
cmp ax, 0xa
jne 0x1003c0cc
inc esi
cmp edi, 0xffffffff
jne 0x1003c0b0
cmp ecx, dword [ebp - 0x158]
jb 0x1003c0b0
dec edx
mov dword [ebp - 0x15c], esi
test edx, edx
jle 0x1003c0e6
cmp dword [ebp - 0x190], 0xffffffff
jne 0x1003c0cc
cmp ecx, dword [ebp - 0x12c]
jb 0x1003c0cc
dec edx
mov dword [ebp - 0x190], esi
test edx, edx
jle 0x1003c0e6
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 0x1003c091
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 0x1003c14e
nop
cmp word [ecx - 2], 0xa
je 0x1003c14e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1003c140
movaps xmm4, xmm3
mov eax, dword [0x10077b54]
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 0x1003c1e4
mov esi, dword [ebp - 0x158]
mov edi, edx
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003c19a
maxss xmm4, xmm1
movaps xmm1, xmm3
jmp 0x1003c1bc
cmp edx, 0xd
je 0x1003c1bc
mov edx, eax
cmp edx, dword [edi]
jge 0x1003c1af
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1003c1b4
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, esi
jb 0x1003c184
comiss xmm1, xmm4
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
movss dword [ebp - 0x15c], xmm4
jbe 0x1003c1e4
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 0x1003c2e6
mov eax, dword [ebp - 0x12c]
mov ecx, eax
mov edx, dword [ebp - 0x10c]
cmp eax, edx
jbe 0x1003c230
cmp word [ecx - 2], 0xa
je 0x1003c230
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1003c222
movaps xmm7, xmm3
mov eax, dword [0x10077b54]
movaps xmm1, xmm3
mov edx, dword [eax + 0x1940]
movss xmm2, dword [eax + 0x1944]
divss xmm2, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x12c]
jae 0x1003c2c4
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x13c], eax
mov esi, eax
cmp eax, 0xa
jne 0x1003c27c
maxss xmm7, xmm1
movaps xmm1, xmm3
jmp 0x1003c2a8
cmp esi, 0xd
je 0x1003c2a8
movzx eax, ax
cmp eax, dword [edx]
jge 0x1003c29b
mov esi, dword [ebp - 0x13c]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm0, dword [eax + edi*4]
jmp 0x1003c2a0
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, dword [ebp - 0x12c]
jb 0x1003c260
comiss xmm1, xmm7
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x114]
jbe 0x1003c2c4
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 0x1003c31a
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 0x1003c464
cmp byte [edi + 0xe6c], 0
je 0x1003c464
test dword [ebx + 0x14], 0x1000
jne 0x1003c395
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm1
comiss xmm2, xmm4
subss xmm1, dword [esi + 0x1564]
mulss xmm0, dword [0x1006e19c]
movss dword [ebp - 0x184], xmm1
movaps xmm1, xmm4
jbe 0x1003c372
subss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
jmp 0x1003c383
subss xmm1, dword [ebp - 0x184]
comiss xmm1, xmm2
jb 0x1003c39c
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1003c39c
mov dword [edi + 0x38], 0
test cl, cl
je 0x1003c450
movss xmm4, dword [ebp - 0x130]
movss xmm5, dword [ebp - 0x180]
movaps xmm0, xmm4
subss xmm0, dword [esi + 0x1944]
comiss xmm5, xmm0
jbe 0x1003c3e5
movaps xmm5, xmm3
maxss xmm5, xmm0
movss xmm0, dword [ebp - 0x164]
comiss xmm3, xmm5
movss xmm1, dword [esi + 0x1568]
jbe 0x1003c41e
movaps xmm1, xmm3
jmp 0x1003c432
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 0x1003c3cb
movss xmm0, dword [ebp - 0x164]
movaps xmm5, xmm4
subss xmm5, xmm0
addss xmm5, xmm2
jmp 0x1003c3d3
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 0x1003c7d1
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 0x1003c4b9
movss xmm1, dword [0x1006e1fc]
jmp 0x1003c4c1
movss xmm1, dword [0x1006e1c4]
mov ecx, 0x2f
call fcn.1000dca0
cmp byte [ebp - 0x104], 0
xorps xmm4, xmm4
mov dword [ebp - 0x180], eax
je 0x1003c4ef
movss dword [ebp - 0x158], xmm4
movss dword [ebp - 0x12c], xmm4
jmp 0x1003c50f
movss xmm0, dword [0x1006e3b0]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [0x1006e258]
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 0x1003c77d
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 0x1003c77a
movss xmm0, dword [ebp - 0x7c]
comiss xmm0, xmm3
jbe 0x1003c59f
cmp esi, edx
jae 0x1003c75b
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1003c75b
cmp esi, edx
jb 0x1003c586
jmp 0x1003c75b
xorps xmm0, xmm0
mov eax, dword [0x10077b54]
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 0x1003c63f
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 0x1003c632
cmp ax, 0xd
je 0x1003c628
movzx eax, ax
cmp eax, dword [edx]
jge 0x1003c61b
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 0x1003c620
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x10c]
jb 0x1003c5d0
jmp 0x1003c63c
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1003c678
mov eax, dword [ecx + 0x1940]
cmp dword [eax], 0x20
jle 0x1003c660
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1003c665
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x1006e1bc]
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 [0x1006e140]
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 0x1003c755
comiss xmm4, xmm2
jbe 0x1003c755
comiss xmm1, dword [ebp - 0x80]
jbe 0x1003c755
movss xmm0, dword [ebp - 0x14c]
comiss xmm0, xmm7
jbe 0x1003c755
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.1002b8d0
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 0x1003c560
xorps xmm4, xmm4
mov esi, dword [ebp - 0x114]
cmp byte [ebp - 0x104], 0
mov edx, dword [ebp - 0xfc]
jne 0x1003c7a5
mov eax, edx
sub eax, dword [ebp - 0x108]
cmp eax, 0x200000
jge 0x1003ca11
mov eax, dword [0x10077b54]
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 0x1003c7d6
xorps xmm0, xmm0
jmp 0x1003c7e2
xorps xmm4, xmm4
jmp 0x1003c783
movss xmm0, dword [0x1006e1fc]
minss xmm0, xmm2
movss xmm2, dword [0x1006e350]
movss xmm7, dword [0x1006e1bc]
movss xmm3, dword [ebp - 0x16c]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1003c810
xorps xmm0, xmm0
jmp 0x1003c81c
movss xmm0, dword [0x1006e1fc]
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 [0x1006e1fc]
jbe 0x1003c847
xorps xmm0, xmm0
jmp 0x1003c84e
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 0x1003c86c
xorps xmm0, xmm0
jmp 0x1003c873
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 0x1003ca14
cmp dword [ebp - 0xfc], 0
jne 0x1003c934
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0x13c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c911
sub ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x108]
add eax, ecx
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x14c], eax
jmp 0x1003c93a
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x108], eax
je 0x1003ca14
cmp dword [esi + 0x1940], 0
jne 0x1003c95b
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x19c], eax
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1003c96c
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x148], xmm0
test edx, edx
je 0x1003c9ce
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.1002fa60
xorps xmm3, xmm3
cmp byte [ebp - 0xf6], 0
je 0x1003cbca
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x1003ca83
comiss xmm3, xmm0
jae 0x1003ca83
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x168], xmm0
fld qword [ebp - 0x168]
fld qword [0x1006e250]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x1006e1e4]
fstp qword [ebp - 0x168]
movsd xmm1, qword [ebp - 0x168]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1003ca83
xor cl, cl
jmp 0x1003ca85
mov cl, 1
movss xmm0, dword [ebp - 0x15c]
movss xmm6, dword [0x1006e1fc]
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 [0x1006e140]
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 [0x1006e228]
addss xmm0, dword [0x1006e1bc]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm0
test cl, cl
je 0x1003cba5
comiss xmm3, dword [ebp - 0x7c]
jbe 0x1003cba5
movss xmm5, dword [ebp - 0x124]
comiss xmm5, xmm0
jbe 0x1003cba5
comiss xmm4, dword [ebp - 0x80]
jbe 0x1003cba5
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jbe 0x1003cba5
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.1000dca0
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.1002b6d0
movss xmm1, dword [ebp - 0x13c]
movss xmm2, dword [ebp - 0x130]
movss xmm6, dword [0x1006e1fc]
cmp byte [ebp - 0x118], 0
jne 0x1003cbca
subss xmm2, dword [esi + 0x1944]
subss xmm1, xmm6
movss dword [esi + 0x2f50], xmm2
movss dword [esi + 0x2f4c], xmm1
cmp byte [ebp - 0x198], 0
je 0x1003cbd8
call fcn.10019350
cmp byte [ebp - 0x104], 0
je 0x1003cced
mov ecx, dword [0x10077b54]
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 0x1003cc82
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 [0x1006e3b0]
call fcn.10019950
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x24]
call fcn.10019a80
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.10013ee0
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.1001a0f0
mov esi, edi
cmp dword [esi + 0x1c48], 0
jne 0x1003cced
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 0x1003cd2f
cmp byte [ebp - 0x198], 0
jne 0x1003cd2f
mov eax, dword [0x10077b54]
lea ecx, [ebp - 0x34]
push dword [ebp - 0xfc]
mov edx, dword [ebp - 0x108]
mov dword [eax + 0x2fbc], 0x1006b9ec
mov dword [eax + 0x2fc0], 0x1006b9e8
call fcn.1001f7f0
add esp, 4
movss xmm0, dword [ebp - 0x1a0]
comiss xmm0, dword [0x1006e140]
jbe 0x1003cd88
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.1000ded0
add esp, 0xc
mov dl, byte [ebp - 0x10d]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x1003cdb2
test ecx, 0x8000000
jne 0x1003cdb2
mov eax, dword [0x10077b54]
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 0x10039850