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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0cb1
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x7c], ebx
mov edi, ecx
mov eax, dword [ebp + 8]
mov edx, dword [0x10bddfb0]
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x107001f0]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x98], ecx
test dl, 1
jne 0x1012f3d0
or edx, 1
lea ecx, [eax - 0x2a42fc37]
xor ecx, 0xde9a561b
mov dword [0x10bddfb0], edx
mov ecx, dword [ecx + 0x250]
mov dword [0x10bddfa4], ecx
mov ecx, dword [ebp - 0x98]
test dl, 2
jne 0x1012f3f3
add eax, 0xd5bd03c9
or edx, 2
xor eax, 0xde9a561b
mov dword [0x10bddfb0], edx
mov eax, dword [eax + 0x254]
mov dword [0x10bddf94], eax
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebx + 0x30]
movzx edx, word [edi + 0x60]
mov ecx, dword [ecx]
mov al, byte [eax + 0x42]
sar ebx, 3
shr al, 7
and bl, 1
and al, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 0x71], al
test ecx, ecx
jne 0x1012f430
test bl, bl
jne 0x1012f430
test al, al
jne 0x1012f430
cmp edx, 0x47
je 0x1012f430
cmp edx, 0x59
jne 0x1012f9d3
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
comiss xmm0, dword [eax]
jae 0x1012f9d3
test ecx, ecx
je 0x1012f9d3
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp - 0x7c]
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
add esi, 0xc
movups xmmword [ebp - 0x68], xmm0
sub esp, 0xc
movups xmmword [ebp - 0x58], xmm0
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, esp
mov dword [edx + 8], eax
lea edx, [ebp - 0x68]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x7c]
call fcn.1012ee90
add esp, 0x1c
test al, al
jne 0x1012f4c8
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
push 0
push 0x600400b
push esi
mov ecx, dword [eax + 0x110]
mov eax, dword [ecx]
call dword [eax]
test eax, 0x600400b
je 0x1012f9d3
mov eax, dword [0x107001f0]
movsx edx, word [ebp - 0x28]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
push edx
mov ecx, dword [eax + 0xf8]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
call eax
test eax, eax
je 0x1012f9d3
movss xmm4, dword [eax + 0x58]
movzx eax, word [eax + 0x60]
movss xmm1, dword [edi + 0x58]
mov edx, eax
movss xmm3, dword [0x102078ec]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], edx
cmp eax, 0x47
je 0x1012f8d1
cmp eax, 0x59
je 0x1012f8d1
test bl, bl
jne 0x1012f8bc
cmp byte [ebp - 0x71], bl
jne 0x1012f8bc
cmp eax, 0x46
jne 0x1012f8a0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x1012f8a0
cmp dword [ebp - 0x84], eax
je 0x1012f781
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1012f8a0
mov ecx, dword [0x102b704c]
test cl, 1
jne 0x1012f6e0
or ecx, 1
mov dword [0x102b704c], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x102b3e8c]
mov ebx, dword [0x102b3e88]
cmp ebx, eax
je 0x1012f605
nop word [eax + eax]
mov ecx, dword [ebx]
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x1012f5fe
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012f5d3
xor edx, edx
test ecx, ecx
je 0x1012f5fe
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012f5e0
cmp edi, 0x1eee87cc
je 0x1012f61e
mov eax, dword [0x102b3e8c]
add ebx, 4
cmp ebx, eax
jne 0x1012f5c0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x102b704c]
mov dword [0x102b7004], eax
jmp 0x1012f6e5
mov ecx, dword [ebp - 0x80]
xor esi, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x88], esi
cmp dword [ecx + 4], esi
jle 0x1012f6ce
xor eax, eax
mov dword [ebp - 0x6c], eax
nop word [eax + eax]
mov ebx, dword [ecx]
mov ecx, dword [ebx + eax + 0x28]
add ebx, eax
test ecx, ecx
je 0x1012f672
cmp dword [ecx + 4], 0
jle 0x1012f672
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1012f66f
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012f680
xor edx, edx
test ecx, ecx
je 0x1012f6ac
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012f690
cmp edi, 0xa5bfefb3
je 0x1012f6d5
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x88]
add eax, 0x3c
mov ecx, dword [ebp - 0x80]
inc edx
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x6c], eax
cmp edx, dword [ecx + 4]
jl 0x1012f640
mov eax, esi
jmp 0x1012f607
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x70]
jmp 0x1012f607
mov eax, dword [0x102b7004]
mov edx, dword [ebp - 0x84]
mov edx, dword [edx + eax]
mov dword [ebp - 0x88], edx
test cl, 1
jne 0x1012f775
or ecx, 1
mov dword [0x102b704c], ecx
mov dword [ebp - 4], 1
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1012f768
mov eax, dword [ebx]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1012f75d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012f730
xor edx, edx
test ecx, ecx
je 0x1012f75d
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012f740
cmp edi, 0x1eee87cc
je 0x1012f7e1
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1012f717
xor eax, eax
mov edx, dword [ebp - 0x88]
mov dword [0x102b7004], eax
mov ecx, dword [ebp - 0x78]
cmp edx, dword [ecx + eax]
jne 0x1012f8a0
mov ecx, dword [0x10bddfa4]
xorps xmm2, xmm2
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x78], eax
movss xmm0, dword [ebp - 0x78]
comiss xmm0, xmm2
jb 0x1012f8a0
mov ecx, dword [0x10bddf94]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + 0x2c]
xor edx, ecx
mov dword [ebp - 0x78], edx
movss xmm0, dword [ebp - 0x78]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1012f9d3
movss xmm6, dword [0x10207788]
mov dword [ebp - 0x78], edx
movss xmm1, dword [ebp - 0x78]
mov edx, dword [ebp - 0x90]
jmp 0x1012f8dc
mov ecx, dword [ebp - 0x80]
xor esi, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x84], esi
cmp dword [ecx + 4], esi
jle 0x1012f88e
xor eax, eax
mov dword [ebp - 0x70], eax
nop dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [ebx + eax + 0x28]
add ebx, eax
test ecx, ecx
je 0x1012f832
cmp dword [ecx + 4], 0
jle 0x1012f832
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1012f82f
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x70]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012f840
xor edx, edx
test ecx, ecx
je 0x1012f86c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012f850
cmp edi, 0xa5bfefb3
je 0x1012f895
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x84]
add eax, 0x3c
mov ecx, dword [ebp - 0x80]
inc edx
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x70], eax
cmp edx, dword [ecx + 4]
jl 0x1012f800
mov eax, esi
jmp 0x1012f76a
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x6c]
jmp 0x1012f76a
movss xmm6, dword [0x10207788]
addss xmm1, xmm4
mov edx, dword [ebp - 0x90]
mulss xmm1, dword [0x102077ec]
jmp 0x1012f8dc
movss xmm2, dword [0x1020785c]
movss xmm6, dword [0x10207788]
movaps xmm1, xmm2
jmp 0x1012f8e4
movss xmm6, dword [0x1020774c]
movaps xmm1, xmm3
movss xmm2, dword [0x1020785c]
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x94], eax
jne 0x1012f90f
cmp eax, 0x57
je 0x1012f90c
cmp eax, 0x55
je 0x1012f90c
cmp dx, 0x4c
jne 0x1012f90f
movss xmm1, dword [0x102078a8]
jmp 0x1012f90f
movaps xmm1, xmm3
mov eax, dword [ebp - 0x7c]
xorps xmm7, xmm7
movss xmm0, dword [ebp - 0x54]
movss xmm3, dword [ebp - 0x5c]
movss xmm5, dword [ebp - 0x58]
subss xmm5, dword [eax + 0x10]
subss xmm0, dword [eax + 0x14]
subss xmm3, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
divss xmm2, xmm1
movss xmm1, dword [0x10207908]
divss xmm1, dword [eax]
mov eax, dword [ebp - 0x9c]
mulss xmm5, xmm5
maxss xmm2, xmm7
movss xmm4, dword [eax]
maxss xmm1, xmm7
mulss xmm3, xmm3
mulss xmm0, xmm0
addss xmm5, xmm3
mulss xmm1, xmm2
mulss xmm1, dword [0x102078ec]
addss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm6
mulss xmm5, xmm2
addss xmm1, xmm0
mulss xmm5, dword [0x10207748]
addss xmm5, xmm1
comiss xmm5, xmm4
ja 0x1012f9d3
comiss xmm5, xmm7
jbe 0x1012f9a5
subss xmm4, xmm5
movss dword [eax], xmm4
movss xmm0, dword [0x1020785c]
comiss xmm0, xmm4
ja 0x1012f9d3
mov ecx, dword [ebp - 0xa0]
movq xmm0, qword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x98]
dec dword [eax]
xor al, al
jmp 0x1012f9d5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d03f8
mov esp, ebp
pop ebp
ret