Function at 0x10165770
Capabilities:
Encode data using xor
Hash data using fnv

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 0x101f43cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10b33e60]
mov edi, dword [ebx + 8]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov esi, dword [edi + 0x60]
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], esi
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x103201ac]
test al, 1
jne 0x1016595a
or eax, 1
mov dword [0x103201ac], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0x84], eax
cmp eax, ecx
je 0x10165878
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10165865
mov eax, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov dword [ebp - 0x88], eax
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x10165830
xor edx, edx
test ecx, ecx
je 0x1016585f
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10165840
cmp esi, 0x4e9f1122
je 0x10165892
mov ecx, dword [0x1031cd84]
mov eax, dword [ebp - 0x84]
add eax, 4
mov dword [ebp - 0x84], eax
cmp eax, ecx
jne 0x10165814
xor edx, edx
mov esi, dword [ebp - 0x98]
mov dword [0x1031e910], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x10165960
mov eax, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x84], edx
cmp dword [eax + 4], edx
jle 0x1016587a
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101658e2
cmp dword [ecx + 4], 0
jle 0x101658e2
push 0
mov edx, 0x940131c5
call fcn.1012b660
add esp, 4
test eax, eax
je 0x101658e2
mov ecx, dword [esi + 0x2c]
add ecx, eax
add dword [ebp - 0x74], ecx
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + eax], 0
jne 0x101658f1
xor edx, edx
test ecx, ecx
je 0x1016591f
nop
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10165900
cmp esi, 0x940131c5
je 0x10165949
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
inc edx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x3c
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x7c], ecx
cmp edx, dword [eax + 4]
jl 0x101658b0
mov edx, dword [ebp - 0x74]
jmp 0x1016587a
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 0x2c]
add edx, dword [ebp - 0x74]
jmp 0x1016587a
mov edx, dword [0x1031e910]
push dword [edx + esi]
mov ecx, dword [ebp - 0x90]
call dword [ebp - 0xa0]
movss xmm0, dword [edi + 0xa4]
xorps xmm5, xmm5
comiss xmm5, xmm0
mov dword [ebp - 0xa0], eax
movss xmm2, dword [0x10271024]
jae 0x10165996
comiss xmm0, xmm2
jb 0x10165f8f
test esi, esi
je 0x10165b1f
mov eax, dword [0x103201dc]
test al, 1
jne 0x10165b0c
or eax, 1
mov dword [0x103201dc], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0x80], eax
cmp eax, ecx
je 0x10165a32
nop dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10165a25
mov eax, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov dword [ebp - 0x88], eax
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x101659f0
xor edx, edx
test ecx, ecx
je 0x10165a1f
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10165a00
cmp esi, 0x72e242a1
je 0x10165a4c
mov ecx, dword [0x1031cd84]
mov eax, dword [ebp - 0x80]
add eax, 4
mov dword [ebp - 0x80], eax
cmp eax, ecx
jne 0x101659d0
xor edx, edx
mov esi, dword [ebp - 0x98]
mov dword [0x10320200], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x10165b12
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x80], edx
cmp dword [eax + 4], edx
jle 0x10165a34
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10165a96
cmp dword [ecx + 4], 0
jle 0x10165a96
push 0
mov edx, 0x9441c788
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10165a96
mov ecx, dword [esi + 0x2c]
add ecx, eax
add dword [ebp - 0x74], ecx
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + eax], 0
jne 0x10165aa5
xor edx, edx
test ecx, ecx
je 0x10165ad1
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10165ab2
cmp esi, 0x9441c788
je 0x10165afb
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
inc edx
mov ecx, dword [ebp - 0x84]
add ecx, 0x3c
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x10165a64
mov edx, dword [ebp - 0x74]
jmp 0x10165a34
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 0x2c]
add edx, dword [ebp - 0x74]
jmp 0x10165a34
mov edx, dword [0x10320200]
cmp byte [edx + esi], 0
je 0x10165b1f
mov cl, 1
mov byte [ebp - 0x75], cl
jmp 0x10165b2c
xor cl, cl
mov byte [ebp - 0x75], cl
test esi, esi
je 0x10165cf5
mov eax, dword [0x1031e978]
test al, 1
jne 0x10165cc4
or eax, 1
mov dword [0x1031e978], eax
mov dword [ebp - 4], 2
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x84], eax
cmp eax, dword [0x1031cd84]
je 0x10165bb9
nop dword [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10165b9f
mov eax, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov dword [ebp - 0x80], eax
xor ecx, ecx
inc ecx
cmp byte [ecx + eax], 0
jne 0x10165b76
xor edx, edx
test ecx, ecx
je 0x10165b9f
mov eax, dword [ebp - 0x80]
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10165b83
cmp esi, 0x72e242a1
je 0x10165bd2
mov eax, dword [ebp - 0x84]
add eax, 4
mov dword [ebp - 0x84], eax
cmp eax, dword [0x1031cd84]
jne 0x10165b60
mov cl, byte [ebp - 0x75]
mov esi, dword [ebp - 0x98]
xor eax, eax
mov dword [0x10320218], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10165cc9
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov cl, byte [ebp - 0x75]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x80], edx
mov byte [ebp - 0x75], cl
cmp dword [eax + 4], edx
jle 0x10165cab
mov dword [ebp - 0x84], edx
mov byte [ebp - 0x75], cl
mov esi, dword [eax]
add esi, edx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10165c27
cmp dword [ecx + 4], 0
jle 0x10165c27
push 0
mov edx, 0xf3e9a9ed
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10165c27
mov ecx, dword [esi + 0x2c]
add ecx, eax
add dword [ebp - 0x74], ecx
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + eax], 0
jne 0x10165c36
xor edx, edx
test ecx, ecx
je 0x10165c62
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10165c43
cmp esi, 0xf3e9a9ed
je 0x10165c83
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
inc edx
add dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], edx
cmp edx, dword [eax + 4]
jge 0x10165ca8
mov edx, dword [ebp - 0x84]
jmp 0x10165bf5
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x75]
mov esi, dword [ebp - 0x98]
mov eax, dword [eax + 0x2c]
add eax, edx
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320218], eax
jmp 0x10165cc9
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x75]
mov eax, edx
mov esi, dword [ebp - 0x98]
mov dword [0x10320218], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10165cc9
mov eax, dword [0x10320218]
cmp byte [eax + esi], 0
je 0x10165cf5
mov eax, dword [edi + 0x20]
mov dl, 1
movss xmm3, dword [edi + 0x74]
mov dword [edi + 0x18], eax
movaps xmm1, xmm3
mov eax, dword [edi + 0x34]
mulss xmm1, dword [0x102710e4]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x40], eax
jmp 0x10165d07
movss xmm1, dword [edi + 0x74]
xor dl, dl
movaps xmm3, xmm1
mulss xmm1, dword [0x10270ff4]
movsd xmm7, qword [str.ffffff]
test cl, cl
je 0x10165dc1
test dl, dl
jne 0x10165dc1
movss xmm0, dword [edi + 0xf8]
comiss xmm0, dword [0x10270fd8]
jbe 0x10165dc1
movss xmm0, dword [edi + 0xf4]
cvtps2pd xmm0, xmm0
comisd xmm7, xmm0
jbe 0x10165dc1
addss xmm3, dword [edi + 0x14]
mov dword [edi + 0x18], 0
comiss xmm3, dword [edi + 0x1c]
movss dword [edi + 0x14], xmm3
movss xmm3, dword [0x10271af0]
jb 0x10165db5
movss xmm4, dword [edi + 0x24]
movaps xmm6, xmm2
subss xmm6, xmm4
comiss xmm6, xmm1
jbe 0x10165d8d
addss xmm4, xmm1
lea eax, [edi + 0x28]
mov ecx, eax
movss dword [edi + 0x24], xmm4
movss xmm4, dword [edi + 0x74]
jmp 0x10165e21
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165dad
subss xmm4, xmm1
lea eax, [edi + 0x28]
mov ecx, eax
movss dword [edi + 0x24], xmm4
movss xmm4, dword [edi + 0x74]
jmp 0x10165e21
movaps xmm4, xmm2
movss dword [edi + 0x24], xmm4
movss xmm4, dword [edi + 0x74]
lea eax, [edi + 0x28]
mov ecx, eax
jmp 0x10165e21
addss xmm3, dword [edi + 0x18]
mov dword [edi + 0x14], 0
comiss xmm3, dword [edi + 0x20]
movss dword [edi + 0x18], xmm3
movss xmm3, dword [0x10271af0]
jb 0x10165e0f
movss xmm4, dword [edi + 0x24]
movaps xmm6, xmm4
xorps xmm6, xmm3
comiss xmm6, xmm1
jbe 0x10165df6
addss xmm4, xmm1
jmp 0x10165e0a
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165e07
subss xmm4, xmm1
jmp 0x10165e0a
movaps xmm4, xmm5
movss dword [edi + 0x24], xmm4
movss xmm4, dword [edi + 0x74]
lea eax, [edi + 0x28]
mov ecx, eax
test dl, dl
jne 0x10165ea4
movss xmm0, dword [edi + 0xf4]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm7
jb 0x10165ea4
addss xmm4, dword [eax]
mov dword [ecx + 4], 0
comiss xmm4, dword [eax + 8]
movss dword [eax], xmm4
jb 0x10165e98
movss xmm4, dword [eax + 0x10]
movaps xmm6, xmm2
subss xmm6, xmm4
comiss xmm6, xmm1
jbe 0x10165e70
addss xmm4, xmm1
movss dword [eax + 0x10], xmm4
lea eax, [edi + 0x3c]
movss xmm4, dword [edi + 0x74]
mov ecx, eax
jmp 0x10165ef7
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165e90
subss xmm4, xmm1
movss dword [eax + 0x10], xmm4
lea eax, [edi + 0x3c]
movss xmm4, dword [edi + 0x74]
mov ecx, eax
jmp 0x10165ef7
movaps xmm4, xmm2
movss dword [eax + 0x10], xmm4
movss xmm4, dword [edi + 0x74]
lea eax, [edi + 0x3c]
mov ecx, eax
jmp 0x10165ef7
addss xmm4, dword [ecx + 4]
mov dword [eax], 0
comiss xmm4, dword [eax + 0xc]
movss dword [ecx + 4], xmm4
jb 0x10165ee9
movss xmm4, dword [eax + 0x10]
movaps xmm6, xmm4
xorps xmm6, xmm3
comiss xmm6, xmm1
jbe 0x10165ed0
addss xmm4, xmm1
jmp 0x10165ee4
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165ee1
subss xmm4, xmm1
jmp 0x10165ee4
movaps xmm4, xmm5
movss dword [eax + 0x10], xmm4
movss xmm4, dword [edi + 0x74]
lea eax, [edi + 0x3c]
mov ecx, eax
test dl, dl
jne 0x10165f4a
movss xmm0, dword [edi + 0xfc]
comiss xmm0, dword [0x10270fb4]
jb 0x10165f4a
addss xmm4, dword [eax]
mov dword [ecx + 4], 0
comiss xmm4, dword [eax + 8]
movss dword [eax], xmm4
jb 0x10165f8f
movss xmm4, dword [eax + 0x10]
movaps xmm6, xmm2
subss xmm6, xmm4
comiss xmm6, xmm1
jbe 0x10165f34
addss xmm4, xmm1
jmp 0x10165f8a
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165f45
subss xmm4, xmm1
jmp 0x10165f8a
movaps xmm4, xmm2
jmp 0x10165f8a
addss xmm4, dword [ecx + 4]
mov dword [eax], 0
comiss xmm4, dword [eax + 0xc]
movss dword [ecx + 4], xmm4
jb 0x10165f8f
movss xmm4, dword [eax + 0x10]
movaps xmm6, xmm4
xorps xmm6, xmm3
comiss xmm6, xmm1
jbe 0x10165f76
addss xmm4, xmm1
jmp 0x10165f8a
movaps xmm0, xmm1
xorps xmm0, xmm3
comiss xmm0, xmm6
jbe 0x10165f87
subss xmm4, xmm1
jmp 0x10165f8a
movaps xmm4, xmm5
movss dword [eax + 0x10], xmm4
movss xmm4, dword [edi + 0x24]
movaps xmm3, xmm2
comiss xmm4, xmm2
movss xmm1, dword [edi + 0x38]
movaps xmm7, xmm2
movss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x80], xmm0
jb 0x10165fb9
movaps xmm3, xmm5
comiss xmm1, xmm2
jb 0x10165fc4
movaps xmm3, xmm5
movaps xmm4, xmm5
comiss xmm0, xmm2
jb 0x10165fcc
movaps xmm7, xmm5
movss xmm0, dword [edi + 0xa4]
comiss xmm0, xmm2
jb 0x101660c6
movaps xmm3, xmm5
movss dword [ebp - 0x84], xmm5
movaps xmm4, xmm5
movss xmm5, dword [ebp - 0x80]
movaps xmm1, xmm2
movaps xmm6, xmm0
subss xmm1, xmm0
mulss xmm6, xmm7
mulss xmm0, xmm5
comiss xmm2, xmm6
movaps xmm5, xmm1
movss dword [ebp - 0x90], xmm6
mulss xmm1, dword [ebp - 0x84]
mulss xmm5, xmm4
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0x8c], xmm1
movss dword [ebp - 0x88], xmm5
jbe 0x10166048
comiss xmm2, xmm0
jbe 0x10166048
comiss xmm2, xmm5
jbe 0x10166048
comiss xmm2, xmm1
jbe 0x10166048
movaps xmm3, xmm2
lea ecx, [edi + 0x234]
movaps xmm2, xmm3
push esi
call fcn.101624c0
movss xmm2, dword [ebp - 0x88]
lea ecx, [edi + 0x258]
push esi
call fcn.101624c0
movss xmm2, dword [ebp - 0x8c]
lea ecx, [edi + 0x264]
push esi
call fcn.101624c0
movss xmm2, dword [ebp - 0x90]
lea ecx, [edi + 0x240]
push esi
call fcn.101624c0
movss xmm2, dword [ebp - 0x9c]
lea ecx, [edi + 0x270]
push esi
call fcn.101624c0
mov eax, dword [0x11011cf8]
test al, 1
jne 0x101660d7
or eax, 1
mov dword [0x11011cf8], eax
mov esi, dword [0x103351e8]
mov dword [0x11011cfc], esi
jmp 0x101660dd
comiss xmm5, xmm0
jb 0x10165feb
movaps xmm7, xmm5
jmp 0x10165ff0
mov esi, dword [0x11011cfc]
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
call esi
test eax, eax
je 0x1016612e
mov ecx, edi
call dword [0x11011cfc]
mov esi, eax
mov ecx, 0x1031ca98
lea eax, [ebp - 0x70]
push eax
call fcn.10040370
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x70]
push esi
cmova ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x58]
push ecx
push eax
call fcn.10167560
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.10029c40
mov eax, dword [0x1039a988]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x98]
call eax
mov edx, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], edx
mov esi, dword [eax + 0x2990]
mov dword [ebp - 0xb0], esi
test esi, esi
je 0x1016677a
cmp dword [ebp - 0xa0], 0
je 0x1016677a
mov dword [ebp - 0x90], eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
mov dword [ebp - 0x7c], edx
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0xb4], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x103235fc]
test al, 1
jne 0x1016631d
or eax, 1
mov dword [0x103235fc], eax
mov dword [ebp - 4], 3
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0x80], eax
cmp eax, ecx
je 0x10166232
nop dword [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10166225
mov eax, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov dword [ebp - 0x88], eax
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x101661f0
xor edx, edx
test ecx, ecx
je 0x1016621f
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10166200
cmp esi, 0xf2f193b3
je 0x1016624c
mov ecx, dword [0x1031cd84]
mov eax, dword [ebp - 0x80]
add eax, 4
mov dword [ebp - 0x80], eax
cmp eax, ecx
jne 0x101661d0
xor edx, edx
mov esi, dword [ebp - 0xb0]
mov dword [0x10323600], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x10166323
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x80], edx
cmp dword [eax + 4], edx
jle 0x10166234
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101662a2
cmp dword [ecx + 4], 0
jle 0x101662a2
push 0
mov edx, 0xa822535a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x101662a2
mov ecx, dword [esi + 0x2c]
add ecx, eax
add dword [ebp - 0x74], ecx
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + eax], 0
jne 0x101662b1
xor edx, edx
test ecx, ecx
je 0x101662df
nop
movsx eax, byte [edx + eax]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x88]
cmp edx, ecx
jb 0x101662c0
cmp esi, 0xa822535a
je 0x1016630c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x9c]
inc edx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x3c
mov dword [ebp - 0x80], edx
mov dword [ebp - 0xa4], ecx
cmp edx, dword [eax + 4]
jl 0x10166270
mov edx, dword [ebp - 0x74]
jmp 0x10166234
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 0x2c]
add edx, dword [ebp - 0x74]
jmp 0x10166234
mov edx, dword [0x10323600]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xb4]
push dword [edx + eax]
call dword [ebp - 0xa8]
test eax, eax
je 0x1016634b
mov ecx, dword [esi + 0xc]
cmp ecx, 0xffffffff
je 0x1016634b
mov edx, eax
mov dword [ebp - 0x7c], ecx
jmp 0x10166354
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
jle 0x10166774
mov eax, dword [0x10b33e70]
test eax, eax
je 0x10166368
add eax, 2
mov eax, dword [eax]
mov eax, dword [eax + edx + 4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x10166774
movss xmm3, dword [0x102713dc]
mov edx, ecx
push 9
mov ecx, eax
call fcn.10163c10
movss xmm3, dword [0x102711d8]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xa0], xmm0
push 0xa
call fcn.10163c10
movss xmm3, dword [ebp - 0xa0]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x80], xmm0
push 0xb
call fcn.10163c10
movss xmm3, dword [ebp - 0x80]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x90], xmm0
push 0xc
call fcn.10163c10
movss xmm3, dword [ebp - 0x90]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xa4], xmm0
push 0xd
call fcn.10163c10
movss xmm3, dword [ebp - 0xa4]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xa8], xmm0
push 0xe
call fcn.10163c10
movss xmm3, dword [0x102713dc]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xb8], xmm0
push 0xf
call fcn.10163c10
movss xmm3, dword [0x102711d8]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x9c], xmm0
push 0x10
call fcn.10163c10
movss xmm3, dword [ebp - 0x9c]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x8c], xmm0
push 0x11
call fcn.10163c10
movss xmm3, dword [ebp - 0x8c]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xb0], xmm0
push 0x12
call fcn.10163c10
add esp, 4
movss dword [ebp - 0xac], xmm0
lea ecx, [edi + 0x258]
push dword [ebp - 0x98]
call fcn.10162670
push dword [ebp - 0x98]
lea ecx, [edi + 0x264]
movss dword [ebp - 0x88], xmm0
call fcn.10162670
push dword [ebp - 0x98]
lea ecx, [edi + 0x270]
movss dword [ebp - 0xb4], xmm0
call fcn.10162670
movss xmm2, dword [ebp - 0xb0]
movaps xmm5, xmm0
movss xmm0, dword [ebp - 0x90]
subss xmm0, dword [ebp - 0xa0]
subss xmm2, dword [ebp - 0x9c]
movss xmm4, dword [ebp - 0xa8]
movss xmm3, dword [ebp - 0xb8]
movss xmm1, dword [ebp - 0xac]
mulss xmm0, dword [ebp - 0x88]
mov edx, dword [ebp - 0x7c]
mulss xmm2, xmm5
mov ecx, dword [ebp - 0x74]
addss xmm0, dword [ebp - 0xa0]
subss xmm1, dword [ebp - 0x8c]
addss xmm2, dword [ebp - 0x9c]
push 0x13
movss dword [ebp - 0x98], xmm5
subss xmm4, xmm0
mulss xmm1, xmm5
mulss xmm4, dword [ebp - 0xb4]
addss xmm1, dword [ebp - 0x8c]
addss xmm4, xmm0
movss xmm0, dword [edi + 0xa4]
subss xmm2, xmm4
mulss xmm2, xmm0
addss xmm2, xmm4
movss dword [edi + 0x334], xmm2
movss xmm2, dword [ebp - 0xa4]
subss xmm2, dword [ebp - 0x80]
mulss xmm2, dword [ebp - 0x88]
addss xmm2, dword [ebp - 0x80]
subss xmm3, xmm2
mulss xmm3, dword [ebp - 0xb4]
addss xmm3, xmm2
subss xmm1, xmm3
mulss xmm1, xmm0
addss xmm1, xmm3
movss xmm3, dword [0x102713e8]
movss dword [edi + 0x338], xmm1
call fcn.10163c10
movss xmm3, dword [0x10271214]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x8c], xmm0
push 0x14
call fcn.10163c10
movss xmm3, dword [ebp - 0x8c]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xa0], xmm0
push 0x15
call fcn.10163c10
movss xmm3, dword [ebp - 0xa0]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xac], xmm0
push 0x16
call fcn.10163c10
movss xmm3, dword [0x102713e8]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xa8], xmm0
push 0x17
call fcn.10163c10
movss xmm3, dword [0x10271214]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x90], xmm0
push 0x18
call fcn.10163c10
movss xmm3, dword [ebp - 0x90]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0x9c], xmm0
push 0x19
call fcn.10163c10
movss xmm3, dword [ebp - 0x9c]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
movss dword [ebp - 0xb8], xmm0
push 0x1a
call fcn.10163c10
movss xmm4, dword [ebp - 0xac]
movaps xmm2, xmm0
subss xmm2, dword [ebp - 0x9c]
movss xmm0, dword [ebp - 0xb8]
add esp, 4
subss xmm0, dword [ebp - 0x90]
movss xmm3, dword [ebp - 0xa8]
subss xmm4, dword [ebp - 0x8c]
subss xmm3, dword [ebp - 0xa0]
mulss xmm2, dword [ebp - 0x98]
mulss xmm0, dword [ebp - 0x98]
mulss xmm4, dword [ebp - 0x88]
mulss xmm3, dword [ebp - 0x88]
addss xmm0, dword [ebp - 0x90]
addss xmm2, dword [ebp - 0x9c]
addss xmm4, dword [ebp - 0x8c]
addss xmm3, dword [ebp - 0xa0]
movss xmm1, dword [edi + 0xa4]
subss xmm0, xmm4
subss xmm2, xmm3
mulss xmm0, xmm1
mulss xmm2, xmm1
addss xmm0, xmm4
addss xmm2, xmm3
movss dword [edi + 0x33c], xmm0
movss dword [edi + 0x340], xmm2
mov edx, dword [ebp - 0x84]
mov eax, dword [0x11011cf4]
test al, 1
jne 0x10166795
or eax, 1
mov dword [0x11011cf4], eax
mov eax, dword [0x1039abcc]
mov dword [0x11011cf0], eax
cmp edx, 1
jle 0x1016682d
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x88], ecx
cmp dword [esi + 0x18], edx
je 0x101667c1
mov eax, dword [0x10335110]
push 0x10
call eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
movss xmm0, dword [esi + 0x2c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
mov dword [esi + 0x18], edx
mov dword [esi + 0x28], 0
lahf
test ah, 0x44
jnp 0x101667e8
mov eax, dword [0x10335110]
push 8
call eax
xorps xmm1, xmm1
movss xmm0, dword [esi + 0x20]
ucomiss xmm0, dword [0x10271024]
mov dword [esi + 0x2c], 0
lahf
test ah, 0x44
jnp 0x10166819
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10166819
mov eax, dword [0x10335110]
mov ecx, dword [ebp - 0x88]
push 0x10
call eax
push dword [esi + 0x18]
mov ecx, edi
mov dword [esi + 0x20], 0x3f800000
push 0
call dword [0x11011cf0]
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.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4