Function at 0x10039d40
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 0x101545ee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x101e5040]
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 [0x10548884]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0xc]
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 - 0xb8], 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 - 0xc8], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xb0], 0
test cl, 1
jne 0x10039e5d
or ecx, 1
mov dword [0x10548884], ecx
mov eax, dword [0x105408ec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10039e56
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10039e10
xor edx, edx
test ecx, ecx
je 0x10039e43
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10039e20
mov eax, dword [ebp - 0x9c]
cmp esi, 0x8208957b
je 0x1003a19c
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10039e00
mov ecx, dword [0x10548884]
xor eax, eax
mov dword [0x1054887c], eax
test cl, 2
jne 0x10039ed3
or ecx, 2
mov dword [0x10548884], ecx
mov eax, dword [0x105408ec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x10039ecc
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10039e90
xor edx, edx
test ecx, ecx
je 0x10039ebf
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10039ea0
mov eax, dword [ebp - 0x9c]
cmp esi, 0xd0eb0af6
je 0x10039ece
mov eax, dword [eax + 4]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x10039e80
xor eax, eax
mov dword [0x10548880], eax
mov ecx, dword [ebp - 0xac]
mov eax, dword [0x10540b50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x1003a4eb
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov edi, eax
mov dword [ebp - 0xa0], edi
test edi, edi
je 0x1003a4eb
push 0x30
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x30]
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 - 0xa4], xmm1
movss dword [esi], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb8]
movq qword [ebp - 0xc4], xmm0
movss xmm2, dword [edi + 0x104]
mov dword [ebp - 0x1c], 0
mov dword [eax], 4
movss xmm0, dword [esi]
comiss xmm0, xmm7
mov eax, dword [0x10429d7c]
mov dword [ebp - 0x28], eax
jbe 0x1003a4eb
nop
mov eax, dword [ebp - 0xb4]
subss xmm2, xmm1
movss xmm4, dword [ebp - 0xc4]
movss xmm5, dword [ebp - 0xc0]
movaps xmm3, xmm4
movss xmm6, dword [ebp - 0xbc]
mov dword [ebp - 0x144], 0
movaps xmm0, xmm2
movss dword [ebp - 0xac], xmm2
mulss xmm0, dword [eax]
movaps xmm1, xmm2
mov byte [ebp - 0x11b], 1
mulss xmm1, dword [eax + 4]
mulss xmm2, dword [eax + 8]
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 - 0x34], xmm0
subss xmm0, xmm5
movss dword [ebp - 0x30], xmm1
subss xmm1, xmm6
movss dword [ebp - 0x150], xmm2
mulss xmm2, xmm2
movss dword [ebp - 0x14c], xmm0
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 0x1003a06e
mov byte [ebp - 0x11b], 0
mov ecx, dword [0x1054090c]
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x2c]
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
mov eax, dword [ebp - 0xb4]
movss xmm0, dword [0x101d85d8]
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
movss xmm3, dword [eax + 8]
mov eax, dword [ebp - 0xc8]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x34]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x30]
addss xmm2, xmm3
test eax, eax
je 0x1003a1a7
push eax
lea eax, [ebp - 0x98]
movss dword [ebp - 0xe4], xmm0
movq xmm0, qword [ebp - 0xc4]
push eax
sub esp, 8
movss dword [ebp - 0xe0], xmm1
lea eax, [ebp - 0xe4]
movss dword [ebp - 0xdc], xmm2
push eax
mov eax, dword [ebp - 0xbc]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.100399a0
jmp 0x1003a32d
mov ecx, dword [0x10548884]
jmp 0x10039e58
lea eax, [ebp - 0x98]
movss dword [ebp - 0xf0], xmm0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x30], eax
mov eax, dword [0x103c805c]
movss dword [ebp - 0xec], xmm1
movss dword [ebp - 0xe8], xmm2
mov dword [ebp - 0x18], 0x42700000
test al, 1
jne 0x1003a307
or eax, 1
mov dword [0x103c805c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
push str.E8_________83_C4_14_8A_56_37
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
call fcn.10035df0
mov byte [ebp - 4], 1
mov eax, dword [0x10540894]
test eax, eax
je 0x1003a245
mov edi, dword [eax + 0x50]
jmp 0x1003a247
xor edi, edi
mov eax, dword [0x1054088c]
mov edx, dword [ebp - 0xb0]
test eax, eax
je 0x1003a25e
mov esi, dword [eax + 0x18]
or edx, 1
jmp 0x1003a263
or edx, 2
xor esi, esi
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 0xfffffffd
test dl, 2
push eax
cmove ecx, edx
mov edx, ecx
and edx, 0xfffffffe
test cl, 1
push esi
cmove edx, ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xb0], edx
mov edx, edi
call fcn.100371d0
mov eax, dword [ebp - 0xcc]
add esp, 8
test eax, eax
je 0x1003a2b1
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x1003a2ac
xor eax, eax
jmp 0x1003a2b1
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xf4]
mov dword [0x103c8060], eax
cmp ecx, 0xf
jbe 0x1003a2f4
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a2ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a4ba
push ecx
push edx
call fcn.10152d39
add esp, 8
mov edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x103c8060], 0
je 0x1003a32d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push 0x4600400b
call dword [0x103c8060]
add esp, 0x10
mov ecx, dword [0x10540934]
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 - 0x38], xmm0
movss xmm0, dword [ebp - 0x6c]
ucomiss xmm0, dword [0x101d84f0]
lahf
test ah, 0x44
jnp 0x1003a4eb
mulss xmm0, dword [ebp - 0xac]
movss xmm1, dword [ebp - 0xa4]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x108]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0xa4], xmm1
divss xmm1, dword [0x101d8690]
cvtps2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esi]
movss dword [esi], xmm0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1003a3eb
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1003a3eb
mov edi, dword [ebp - 0x54]
cmp edi, 0xa
je 0x1003a3e5
test edi, edi
je 0x1003a3e5
mov edx, dword [0x1054854c]
mov eax, dword [0x10429d7c]
add edx, 0xffffffdc
xor edx, 0x14f7a1fc
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1003a4c0
mov edi, dword [ebp - 0xa0]
movss xmm1, dword [ebp - 0xa4]
comiss xmm1, dword [0x101d86b8]
jbe 0x1003a427
movss xmm0, dword [edi + 0xf8]
ucomiss xmm0, dword [0x101d83e0]
lahf
test ah, 0x44
jp 0x1003a4eb
movss xmm0, dword [0x101d8434]
comiss xmm0, dword [ebp - 0x38]
ja 0x1003a4eb
cmp dword [ebp - 0x9c], 0
je 0x1003a4eb
mov ecx, dword [0x10548880]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1054887c]
fstp st(0)
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
sub esp, 0xc
fstp st(0)
push esi
push eax
mov eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.10039670
mov ecx, dword [ebp - 0xb8]
test al, al
mov eax, dword [ebp - 0x9c]
mov dword [ecx], eax
je 0x1003a4eb
mov eax, dword [ebp - 0xd0]
xorps xmm7, xmm7
mov byte [eax], 0
movss xmm0, dword [esi]
comiss xmm0, xmm7
jbe 0x1003a4eb
movss xmm1, dword [ebp - 0xa4]
movss xmm2, dword [ebp - 0xac]
jmp 0x10039fb0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xa8]
push edi
push eax
sub esp, 8
push esi
call fcn.10038cd0
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 0x1003a4ed
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.101528b9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28