Function at 0x1003c2c5
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 0x10100239
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1011900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1046553c]
test al, 1
jne 0x1003c14b
mov eax, dword [0x1045f944]
or dword [0x1046553c], 1
mov esi, dword [eax + 0x30]
jmp 0x1003c13f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1003c110
xor edx, edx
test ecx, ecx
je 0x1003c13c
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [esi + 0xc]
cmp edx, ecx
jb 0x1003c120
cmp edi, 0xe6a08fc9
je 0x1003c143
mov esi, dword [esi + 4]
test esi, esi
jne 0x1003c100
mov dword [0x10465544], esi
jmp 0x1003c151
mov esi, dword [0x10465544]
cmp byte [0x104309c8], 0
je case.default.0x1003c16c
mov eax, dword [0x10430a7c]
cmp eax, 0x12
ja case.default.0x1003c16c
jmp dword [eax*4 + 0x1003ca68]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
mov eax, 0x10
pxor xmm0, xmmword [0x1010dd90]
mov dword [ebp - 0x18], 0xbfd1d094
mov dword [ebp - 0x14], 0xe0928488
movups xmmword [ebp - 0x28], xmm0
nop
xor byte [ebp + eax - 0x28], 0xe0
inc eax
cmp eax, 0x18
jb 0x1003c1e0
lea ecx, [ebp - 0x28]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
mov eax, 0x10
pxor xmm0, xmmword [0x1010e3f0]
mov word [ebp - 0x14], 0xe0d1
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xe0
inc eax
cmp eax, 0x12
jb 0x1003c211
lea ecx, [ebp - 0x24]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x1010e4a0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
mov eax, 0x10
pxor xmm0, xmmword [0x1010e4a0]
mov word [ebp - 0x14], 0xe082
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xe0
inc eax
cmp eax, 0x12
jb 0x1003c261
lea ecx, [ebp - 0x24]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
mov eax, 0x10
pxor xmm0, xmmword [0x1010dd60]
mov dword [ebp - 0x14], 0xe094818c
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xe0
inc eax
cmp eax, 0x14
jb 0x1003c293
lea ecx, [ebp - 0x24]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x1010df20]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1003c3e7
mov dword [ebp - 0x20], 0xbf998b93
xor eax, eax
mov dword [ebp - 0x1c], 0xd0998184
mov dword [ebp - 0x18], 0xd5d0bfd2
mov byte [ebp - 0x14], 0xe0
xor byte [ebp + eax - 0x20], 0xe0
inc eax
cmp eax, 0xd
jb 0x1003c2e0
lea ecx, [ebp - 0x20]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
mov eax, 0x10
pxor xmm0, xmmword [0x1010e210]
mov dword [ebp - 0x14], 0xe092848c
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xe0
inc eax
cmp eax, 0x14
jb 0x1003c312
lea ecx, [ebp - 0x24]
jmp 0x1003c3e7
mov dword [ebp - 0x1c], 0x94928596
xor eax, eax
mov dword [ebp - 0x18], 0xbf8f8789
mov dword [ebp - 0x14], 0xe0928488
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0xe0
inc eax
cmp eax, 0xc
jb 0x1003c340
lea ecx, [ebp - 0x1c]
jmp 0x1003c3e7
movaps xmm0, xmmword [0x1010e810]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x1010e710]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x1003c3e7
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x1003c3e0
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x1003c3e7
mov dword [ebp - 0x18], 0x6966666f
mov word [ebp - 0x14], 0x6563
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x12], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x10427bb4]
mulss xmm0, dword [0x1010d7e0]
mov eax, dword [0x1046553c]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1003c47b
mov eax, dword [0x1045f944]
or dword [0x1046553c], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003c466
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003c430
xor edx, edx
test ecx, ecx
je 0x1003c45c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c440
cmp esi, 0x76c2f99f
je 0x1003c470
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c425
xor ecx, ecx
mov dword [0x10465548], ecx
jmp 0x1003c481
mov ecx, dword [ebp - 0x2c]
mov dword [0x10465548], ecx
jmp 0x1003c481
mov ecx, dword [0x10465548]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1046553c]
test al, 4
jne 0x1003c50b
or eax, 4
mov dword [0x1046553c], eax
mov eax, dword [0x1045f944]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003c4f6
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003c4c0
xor edx, edx
test ecx, ecx
je 0x1003c4ec
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c4d0
cmp esi, 0xf2bc10d0
je 0x1003c500
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c4b0
xor ecx, ecx
mov dword [0x10465568], ecx
jmp 0x1003c511
mov ecx, dword [ebp - 0x2c]
mov dword [0x10465568], ecx
jmp 0x1003c511
mov ecx, dword [0x10465568]
mov eax, dword [ecx]
movzx edx, byte [0x10427920]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1046553c]
test al, 8
jne 0x1003c58d
or eax, 8
mov dword [0x1046553c], eax
mov eax, dword [0x1045f944]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003c586
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003c550
xor edx, edx
test ecx, ecx
je 0x1003c57c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c560
mov eax, dword [ebp - 0x2c]
cmp esi, 0xea128137
je 0x1003c588
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c540
xor eax, eax
mov dword [0x10465560], eax
movzx edx, byte [0x104279c6]
lea ecx, [ebp - 0xa4]
call fcn.1003a1b0
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x104279c4]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.1003a1b0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x104279c4]
call fcn.1003a1b0
push 1
push 0x1010c100
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1003f250
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.1003fff0
push 1
push 0x1010c100
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1003f250
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 edi
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.1003fff0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [0x10465560]
cmp dword [ebp - 0x30], 0x10
cmovae edx, dword [ebp - 0x44]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x1003c6cc
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c6c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x1003c71c
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c712
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1003c754
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c74a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0x10
jb 0x1003c7a4
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c79a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x1003c7dc
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c7d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
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, 0x10
jb 0x1003c825
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c81b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c86d
push ecx
push edx
call fcn.100fda60
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, 0x10
jb 0x1003c87d
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c873
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c873
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fda60
add esp, 8
mov eax, dword [0x1046553c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x1003c91b
or eax, 0x10
mov dword [0x1046553c], eax
mov eax, dword [0x1045f944]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003c906
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 0x1003c8d0
xor edx, edx
test ecx, ecx
je 0x1003c8fc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c8e0
cmp esi, 0xf0d13f1c
je 0x1003c910
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c8c0
xor ecx, ecx
mov dword [0x10465528], ecx
jmp 0x1003c921
mov ecx, dword [ebp - 0x2c]
mov dword [0x10465528], ecx
jmp 0x1003c921
mov ecx, dword [0x10465528]
mov eax, dword [ecx]
movss xmm0, dword [0x10427a3c]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1046553c]
test al, 0x20
jne 0x1003c9ab
or eax, 0x20
mov dword [0x1046553c], eax
mov eax, dword [0x1045f944]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003c996
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003c960
xor edx, edx
test ecx, ecx
je 0x1003c98c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003c970
cmp esi, 0x3af2c705
je 0x1003c9a0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c956
xor ecx, ecx
mov dword [0x10465530], ecx
jmp 0x1003c9b1
mov ecx, dword [ebp - 0x2c]
mov dword [0x10465530], ecx
jmp 0x1003c9b1
mov ecx, dword [0x10465530]
mov eax, dword [ecx]
movss xmm0, dword [0x10427af8]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1046553c]
test al, 0x40
jne 0x1003ca3b
or eax, 0x40
mov dword [0x1046553c], eax
mov eax, dword [0x1045f944]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003ca26
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003c9f0
xor edx, edx
test ecx, ecx
je 0x1003ca1c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003ca00
cmp esi, 0x28cc4bea
je 0x1003ca30
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1003c9e6
xor ecx, ecx
mov dword [0x10465514], ecx
jmp 0x1003ca41
mov ecx, dword [ebp - 0x2c]
mov dword [0x10465514], ecx
jmp 0x1003ca41
mov ecx, dword [0x10465514]
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