Function at 0x1003f540
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 0x1004c9e6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x1005d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
sub eax, 3
cmp eax, 0x11
ja 0x1003fb70
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x50]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x104], eax
push 1
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
add esp, 4
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.10031bb0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10031360
mov dword [ebp - 0x4c], eax
push 0x10055386
push str.___d___a_zA_Z0_9__
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.10031970
mov dword [ebp - 4], 3
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x1003f61e
add eax, dword [edi]
mov dword [ebp - 0x100], eax
mov eax, dword [edi]
mov dword [ebp - 0x104], eax
jmp 0x1003f62c
add eax, edi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x100], eax
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x1003fb12
push 0x80
lea eax, [ebp - 0xf8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xf8]
push 0x10
push dword [esi + 0x14]
push dword [esi + 0x1c]
push esi
push eax
push dword [ebp - 0x100]
push dword [ebp - 0x104]
call fcn.10031f40
push 1
push ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 4
call fcn.10032400
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0xf9], al
mov byte [ebp - 4], 3
call fcn.10031dd0
cmp byte [ebp - 0xf9], 0
je 0x1003fb0f
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
push 6
push str.qweqwe
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0x74], xmm0
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0xd8], xmm0
call fcn.100315a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
push str.123123
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
call fcn.100315a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
push str.asdfghjkkl
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
call fcn.100315a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
push str.qwertyuiop
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
call fcn.100315a0
push ecx
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x104], 0
lea esi, [ebp - 0x78]
call fcn.10030f00
push esi
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x74]
call fcn.10046250
push 0x10030c90
push 4
push 0x18
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push eax
call fcn.1004a38e
push edi
lea ecx, [ebp - 0x2c]
call fcn.10030d60
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmp edx, 0xf
cmova eax, edi
cmova ecx, edi
add eax, dword [ebp - 0x1c]
cmp edx, 0xf
mov dword [ebp - 0x100], eax
cmova esi, edi
cmp esi, eax
je 0x1003f81f
sub ecx, esi
mov edi, ecx
nop dword [eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x100]
jne 0x1003f800
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 0xf
lea esi, [ebp - 0x2c]
mov edx, 0x811c9dc5
cmova esi, edi
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
jbe 0x1003f84b
mov edi, dword [ebp - 0x1c]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1003f837
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x70]
and eax, edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x104], eax
mov esi, dword [edx + eax*8 + 4]
cmp esi, ecx
jne 0x1003f868
xor esi, esi
jmp 0x1003f8a7
lea edx, [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.100318f0
test al, al
jne 0x1003f8a4
nop word [eax + eax]
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x68]
cmp esi, dword [ecx + eax*8]
je 0x1003f8a2
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x2c]
lea edx, [esi + 8]
call fcn.100318f0
test al, al
je 0x1003f880
jmp 0x1003f8a4
xor esi, esi
mov ecx, dword [ebp - 0x70]
test esi, esi
mov eax, ecx
cmovne eax, esi
cmp eax, ecx
je 0x1003f8be
mov byte [ebp - 0xf9], 0
jmp 0x1003fabb
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x3c]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x104], eax
push 1
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
add esp, 4
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.10031bb0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10031360
mov dword [ebp - 0x38], eax
push 0x100553bb
push str._w2__1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.10031970
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov edi, dword [ebp - 0x1c]
cmova esi, dword [ebp - 0x2c]
add edi, esi
cmp dword [ebp - 0x40], 0
je 0x1003fa45
push 0x80
lea eax, [ebp - 0xf8]
mov byte [ebp - 0x100], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xf8]
add esp, 0xc
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
push esi
call fcn.10031f40
push 0
push ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x11
call fcn.10032400
test al, al
je 0x1003f999
mov byte [ebp - 0x100], 1
jmp 0x1003fa2d
cmp esi, edi
je 0x1003fa2d
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0xf8]
and eax, 0xffffdfff
or eax, 0x100
push 0
mov dword [ebp - 0x98], eax
lea eax, [esi + 1]
push edi
push eax
call fcn.10032160
mov esi, eax
cmp esi, edi
je 0x1003fa00
nop
push 0
push ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xa4], esi
call fcn.10032400
test al, al
jne 0x1003f98d
push 0
push edi
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0xf8]
call fcn.10032160
mov esi, eax
cmp esi, edi
jne 0x1003f9d0
push 0
push ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xa4], edi
call fcn.10032400
mov ecx, dword [ebp - 0x100]
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x100], ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x10
call fcn.10031dd0
cmp byte [ebp - 0x100], 0
jne 0x1003fa56
mov edx, 0xa
lea ecx, [ebp - 0x2c]
call fcn.1003f400
test al, al
je 0x1003fa5f
mov byte [ebp - 0xf9], 0
jmp 0x1003fa66
mov byte [ebp - 0xf9], 1
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1003fa97
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1003fa97
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1003fa97
nop
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1003fa80
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], 0
test ecx, ecx
je 0x1003fab8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003fab8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1003faf0
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003fae6
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003fae6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1004a23a
add esp, 8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10030950
mov esi, dword [ebp - 0x54]
jmp 0x1003fb19
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0xf9], 0
test esi, esi
je 0x1003fb47
or eax, 0xffffffff
lock xadd dword [esi + 0x20], eax
jne 0x1003fb47
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x1003fb47
nop
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1003fb30
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], 0
test ecx, ecx
je 0x1003fb68
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003fb68
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0xf9]
jmp 0x1003fb72
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.10049dfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret