Function at 0x10039dd6
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 0x100d9059
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100f0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101270a8]
test al, 1
jne 0x10039c2b
mov eax, dword [0x10121834]
or dword [0x101270a8], 1
mov edx, dword [eax + 0x30]
jmp 0x10039c1f
mov eax, dword [edx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x10039bf0
xor esi, esi
test ecx, ecx
je 0x10039c1c
nop dword [eax]
movsx eax, byte [esi + eax]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [edx + 0xc]
cmp esi, ecx
jb 0x10039c00
cmp edi, 0xe6a08fc9
je 0x10039c23
mov edx, dword [edx + 4]
test edx, edx
jne 0x10039be0
mov dword [0x10127090], edx
jmp 0x10039c31
mov edx, dword [0x10127090]
cmp byte [0x100ff524], 0
je case.default.0x10039c4c
mov eax, dword [0x100ff5d8]
cmp eax, 0x12
ja case.default.0x10039c4c
jmp dword [eax*4 + 0x1003a5b8]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
mov eax, 0x10
xorps xmm0, xmmword [0x100e63b0]
mov dword [ebp - 0x30], 0x89e7e6a2
mov dword [ebp - 0x2c], 0xd6a4b2be
movups xmmword [ebp - 0x40], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x40], 0xd6
inc eax
cmp eax, 0x18
jb 0x10039cc0
lea ecx, [ebp - 0x40]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
mov eax, 0x10
xorps xmm0, xmmword [0x100e6730]
mov word [ebp - 0x14], 0xd6e7
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xd6
inc eax
cmp eax, 0x12
jb 0x10039cf0
lea ecx, [ebp - 0x24]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
lea ecx, [ebp - 0x24]
xorps xmm0, xmmword [0x100e66c0]
mov byte [ebp - 0x14], 0xd6
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
mov eax, 0x10
xorps xmm0, xmmword [0x100e66c0]
mov word [ebp - 0x14], 0xd6b4
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xd6
inc eax
cmp eax, 0x12
jb 0x10039d42
lea ecx, [ebp - 0x24]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
mov eax, 0x10
xorps xmm0, xmmword [0x100e5fc0]
mov dword [ebp - 0x14], 0xd6a2b7ba
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xd6
inc eax
cmp eax, 0x14
jb 0x10039d73
lea ecx, [ebp - 0x24]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
lea ecx, [ebp - 0x24]
xorps xmm0, xmmword [0x100e5ec0]
mov byte [ebp - 0x14], 0xd6
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x10039ec6
mov dword [ebp - 0x20], 0x89afbda5
xor eax, eax
mov dword [ebp - 0x1c], 0xe6afb7b2
mov dword [ebp - 0x18], 0xe3e689e4
mov byte [ebp - 0x14], 0xd6
xor byte [ebp + eax - 0x20], 0xd6
inc eax
cmp eax, 0xd
jb 0x10039dc3
lea ecx, [ebp - 0x20]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
mov eax, 0x10
xorps xmm0, xmmword [0x100e5d30]
mov dword [ebp - 0x14], 0xd6a4b2ba
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xd6
inc eax
cmp eax, 0x14
jb 0x10039df4
lea ecx, [ebp - 0x24]
jmp 0x10039ec6
mov dword [ebp - 0x1c], 0xa2a4b3a0
xor eax, eax
mov dword [ebp - 0x18], 0x89b9b1bf
mov dword [ebp - 0x14], 0xd6a4b2be
nop
xor byte [ebp + eax - 0x1c], 0xd6
inc eax
cmp eax, 0xc
jb 0x10039e20
lea ecx, [ebp - 0x1c]
jmp 0x10039ec6
movaps xmm0, xmmword [0x100e6520]
lea ecx, [ebp - 0x20]
xorps xmm0, xmmword [0x100e6470]
movups xmmword [ebp - 0x20], xmm0
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x10039ec6
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x10039ebf
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x10039ec6
mov dword [ebp - 0x18], 0x6966666f
mov word [ebp - 0x14], 0x6563
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x12], 0
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x100f697c]
mulss xmm0, dword [0x100e5944]
mov eax, dword [0x101270a8]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x10039f5b
mov eax, dword [0x10121834]
or dword [0x101270a8], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10039f46
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039f10
xor edx, edx
test ecx, ecx
je 0x10039f3c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039f20
cmp edi, 0x76c2f99f
je 0x10039f50
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10039f04
xor ecx, ecx
mov dword [0x10127094], ecx
jmp 0x10039f61
mov ecx, dword [ebp - 0x28]
mov dword [0x10127094], ecx
jmp 0x10039f61
mov ecx, dword [0x10127094]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101270a8]
test al, 4
jne 0x10039feb
or eax, 4
mov dword [0x101270a8], eax
mov eax, dword [0x10121834]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10039fd6
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039fa0
xor edx, edx
test ecx, ecx
je 0x10039fcc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039fb0
cmp edi, 0xf2bc10d0
je 0x10039fe0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10039f90
xor ecx, ecx
mov dword [0x101270ac], ecx
jmp 0x10039ff1
mov ecx, dword [ebp - 0x28]
mov dword [0x101270ac], ecx
jmp 0x10039ff1
mov ecx, dword [0x101270ac]
mov eax, dword [ecx]
movzx edx, byte [0x100f66e8]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101270a8]
test al, 8
jne 0x1003a06d
or eax, 8
mov dword [0x101270a8], eax
mov eax, dword [0x10121834]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003a066
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003a030
xor edx, edx
test ecx, ecx
je 0x1003a05c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a040
mov eax, dword [ebp - 0x28]
cmp edi, 0xea128137
je 0x1003a068
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1003a020
xor eax, eax
mov dword [0x101270a4], eax
movzx edx, byte [0x100f678e]
lea ecx, [ebp - 0xa4]
call fcn.1002fcb0
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100f678c]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.1002fcb0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x100f678c]
call fcn.1002fcb0
mov ecx, eax
mov byte [ebp - 4], 2
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x1003a0e1
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x1003a0d9
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x1003a0f8
push 1
push 0x100e4100
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push 1
call fcn.1003d240
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.1003d7f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x1003a165
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x40]
jmp 0x1003a17d
push 1
push 0x100e4100
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x28]
push 1
call fcn.1003d240
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x44]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.1003d7f0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x5c]
mov ecx, dword [0x101270a4]
cmp dword [ebp - 0x48], 0xf
cmova edx, dword [ebp - 0x5c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1003a213
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a209
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1003a263
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a259
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003a29b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a291
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x1003a2eb
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a2e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1003a323
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a319
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x1003a36c
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a3b4
push ecx
push edx
call fcn.100d7387
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1003a3c4
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a3ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003a3ba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7387
add esp, 8
mov eax, dword [0x101270a8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x1003a45b
or eax, 0x10
mov dword [0x101270a8], eax
mov eax, dword [0x10121834]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003a446
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003a410
xor edx, edx
test ecx, ecx
je 0x1003a43c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a420
cmp edi, 0xf0d13f1c
je 0x1003a450
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1003a403
xor ecx, ecx
mov dword [0x10127088], ecx
jmp 0x1003a461
mov ecx, dword [ebp - 0x28]
mov dword [0x10127088], ecx
jmp 0x1003a461
mov ecx, dword [0x10127088]
mov eax, dword [ecx]
movss xmm0, dword [0x100f6804]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101270a8]
test al, 0x20
jne 0x1003a4fb
or eax, 0x20
mov dword [0x101270a8], eax
mov eax, dword [0x10121834]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003a4e6
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003a4b0
xor edx, edx
test ecx, ecx
je 0x1003a4dc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a4c0
cmp edi, 0x3af2c705
je 0x1003a4f0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1003a4a0
xor ecx, ecx
mov dword [0x1012708c], ecx
jmp 0x1003a501
mov ecx, dword [ebp - 0x28]
mov dword [0x1012708c], ecx
jmp 0x1003a501
mov ecx, dword [0x1012708c]
mov eax, dword [ecx]
movss xmm0, dword [0x100f68c0]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101270a8]
test al, 0x40
jne 0x1003a58b
or eax, 0x40
mov dword [0x101270a8], eax
mov eax, dword [0x10121834]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003a576
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003a540
xor edx, edx
test ecx, ecx
je 0x1003a56c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a550
cmp edi, 0x28cc4bea
je 0x1003a580
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1003a536
xor ecx, ecx
mov dword [0x10127080], ecx
jmp 0x1003a591
mov ecx, dword [ebp - 0x28]
mov dword [0x10127080], ecx
jmp 0x1003a591
mov ecx, dword [0x10127080]
mov eax, dword [ecx]
movss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret