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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6cb9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x100e7008]
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 [ebx + 8]
mov ecx, dword [0x101d9954]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xb8], 0
test cl, 1
jne 0x10035c4d
or ecx, 1
mov dword [0x101d9954], ecx
mov eax, dword [0x101d0170]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10035c46
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035c00
xor edx, edx
test ecx, ecx
je 0x10035c33
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035c10
mov eax, dword [ebp - 0x9c]
cmp esi, 0x8208957b
je 0x10035f6a
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10035bf6
mov ecx, dword [0x101d9954]
xor eax, eax
mov dword [0x101d9958], eax
test cl, 2
jne 0x10035cc3
or ecx, 2
mov dword [0x101d9954], ecx
mov eax, dword [0x101d0170]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10035cbc
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035c80
xor edx, edx
test ecx, ecx
je 0x10035caf
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035c90
mov eax, dword [ebp - 0x9c]
cmp esi, 0xd0eb0af6
je 0x10035cbe
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10035c70
xor eax, eax
mov dword [0x101d995c], eax
mov ecx, dword [ebp - 0xb4]
mov eax, dword [0x101d0364]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x1003633a
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov edi, eax
mov dword [ebp - 0xbc], edi
test edi, edi
je 0x1003633a
push 0x30
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
xorps xmm7, xmm7
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x78], 0
add esp, 0xc
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x9c], 4
movd xmm0, dword [edi + 0xec]
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xb0], xmm1
movss dword [ecx], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xac]
movq qword [ebp - 0xc8], xmm0
movss xmm3, dword [edi + 0x104]
mov dword [ebp - 0x2c], 0
mov dword [eax], 4
movss xmm0, dword [ecx]
comiss xmm0, xmm7
mov eax, dword [0x101afb28]
mov dword [ebp - 0x38], eax
jbe 0x1003633a
mov esi, dword [ebx + 0xc]
movss xmm0, dword [esi]
subss xmm3, xmm1
movss xmm2, dword [esi + 8]
movss xmm4, dword [ebp - 0xc8]
movss xmm5, dword [ebp - 0xc4]
movss xmm6, dword [ebp - 0xc0]
mulss xmm0, xmm3
movaps xmm1, xmm3
mov dword [ebp - 0x144], 0
mulss xmm1, dword [esi + 4]
mov byte [ebp - 0x11b], 1
mulss xmm2, xmm3
movss dword [ebp - 0xb4], xmm3
movaps xmm3, xmm4
addss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movaps xmm1, xmm6
addss xmm1, xmm2
movaps xmm2, xmm3
movss dword [ebp - 0x18], xmm3
subss xmm2, xmm4
movss dword [ebp - 0x20], xmm0
subss xmm0, xmm5
movss dword [ebp - 0x1c], xmm1
subss xmm1, xmm6
movss dword [ebp - 0x150], xmm2
movss dword [ebp - 0x14c], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
movss dword [ebp - 0x148], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x10035e5e
mov byte [ebp - 0x11b], 0
mov ecx, dword [0x101d0190]
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x11c], 1
movss dword [ebp - 0x160], xmm4
movss dword [ebp - 0x15c], xmm5
movss dword [ebp - 0x158], xmm6
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x130], 0
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [ebp - 0x160]
mov eax, dword [eax + 0x14]
push edx
call eax
cmp dword [ebp - 0xa4], 0
lea eax, [ebp - 0x98]
movss xmm0, dword [esi]
je 0x10035f75
movss xmm1, dword [0x100dadb0]
mulss xmm0, xmm1
push ecx
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [esi + 8]
mov esi, dword [ebp - 0xa4]
mulss xmm0, xmm1
push esi
push eax
lea eax, [ebp - 0xe4]
addss xmm0, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc8]
push eax
movss dword [ebp - 0xdc], xmm0
call fcn.10035740
jmp 0x1003612f
mov ecx, dword [0x101d9954]
jmp 0x10035c48
movss xmm3, dword [0x100dadb0]
movss xmm1, dword [esi + 4]
movss xmm2, dword [esi + 8]
movss xmm4, dword [ebp - 0x20]
mulss xmm1, xmm3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mulss xmm2, xmm3
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xf0]
mulss xmm0, xmm3
addss xmm4, xmm1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc8]
movss xmm3, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x1c]
addss xmm3, xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x101d9818]
addss xmm1, xmm2
movss dword [ebp - 0xec], xmm4
mov dword [ebp - 0x18], 0x42700000
movss dword [ebp - 0xf0], xmm3
movss dword [ebp - 0xe8], xmm1
test al, 1
jne 0x10036103
or eax, 1
mov dword [0x101d9818], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
push 0x1c
push str.E8_________83_C4_14_8A_56_37
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.1002dff0
mov byte [ebp - 4], 1
mov eax, dword [0x101d012c]
test eax, eax
je 0x10036043
mov edi, dword [eax + 0x50]
jmp 0x10036045
xor edi, edi
mov eax, dword [0x101d0124]
mov edx, dword [ebp - 0xb8]
test eax, eax
je 0x1003605c
mov eax, dword [eax + 0x18]
or edx, 1
jmp 0x10036061
or edx, 2
xor eax, eax
mov ecx, edx
mov esi, edx
and esi, 0xfffffffd
and cl, 2
cmove esi, edx
mov ecx, esi
mov edx, esi
and edx, 0xfffffffe
and cl, 1
lea ecx, [ebp - 0x108]
cmove edx, esi
push ecx
mov dword [ebp - 0xb8], edx
lea ecx, [ebp - 0xcc]
push eax
mov edx, edi
call fcn.10027ee0
mov eax, dword [ebp - 0xcc]
add esp, 8
test eax, eax
je 0x100360b3
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100360ae
xor eax, eax
jmp 0x100360b3
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xf4]
mov dword [0x101d981c], eax
cmp edx, 0x10
jb 0x100360f6
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100360ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100362fe
push edx
push ecx
call fcn.100c54bb
add esp, 8
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x101d981c], 0
je 0x10036129
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0x4600400b
call dword [0x101d981c]
add esp, 0x10
mov esi, dword [ebp - 0xa4]
mov ecx, dword [0x101d01b8]
movsx edx, word [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [eax + 0x58]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x6c]
ucomiss xmm0, dword [0x100dacd8]
lahf
test ah, 0x44
jnp 0x1003633a
mulss xmm0, dword [ebp - 0xb4]
movss xmm1, dword [ebp - 0xb0]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0xb0], xmm1
mulss xmm1, dword [0x100dabf8]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x4c]
mulss xmm0, dword [eax]
movss dword [eax], xmm0
test esi, esi
je 0x100361df
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100361df
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0xa4]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov byte [ebp - 0x9d], 1
cmp esi, eax
je 0x100361e6
mov byte [ebp - 0x9d], 0
test edi, edi
je 0x1003622b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1003622b
cmp byte [ebp - 0x9d], 0
je 0x1003622b
mov esi, dword [ebp - 0x54]
cmp esi, 7
jg 0x1003622b
mov edx, dword [0x101d038c]
mov eax, dword [0x101afb28]
add edx, 0xffffffd6
xor edx, 0x197e095c
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10036304
movss xmm1, dword [ebp - 0xb0]
comiss xmm1, dword [0x100dae50]
mov edi, dword [ebp - 0xbc]
jbe 0x10036269
movss xmm0, dword [edi + 0xf8]
comiss xmm0, dword [0x100dabd0]
ja 0x1003632e
movss xmm0, dword [0x100dac3c]
comiss xmm0, dword [ebp - 0x24]
ja 0x1003632e
cmp dword [ebp - 0x9c], 0
je 0x1003632e
mov ecx, dword [0x101d995c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101d9958]
fstp st(0)
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x9c]
sub esp, 0xc
fstp st(0)
push dword [ebp - 0xa8]
push eax
push esi
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.10035490
mov ecx, dword [ebp - 0xac]
test al, al
mov eax, dword [ebp - 0x9c]
mov dword [ecx], eax
je 0x1003633a
mov eax, dword [ebp - 0xd0]
xorps xmm7, xmm7
mov byte [eax], 0
mov eax, dword [ebp - 0xa8]
movss xmm0, dword [eax]
comiss xmm0, xmm7
jbe 0x1003633a
movss xmm1, dword [ebp - 0xb0]
movss xmm3, dword [ebp - 0xb4]
jmp 0x10035da1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push dword [ebp - 0xa8]
sub esp, 8
push edi
call fcn.10034ce0
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov al, 1
jmp 0x1003633c
mov eax, dword [ebp - 0xac]
mov dword [eax], 0
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.100c4f7f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30