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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
call fcn.101b9810
mov ecx, ebx
call fcn.101b8cd0
mov eax, dword [0x103390c8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
cmp dword [ecx + 0x10], 0
je 0x101ba469
mov eax, dword [ebx + 0x24c]
xor esi, esi
mov edi, dword [ebx + 0x248]
sub eax, edi
sar eax, 2
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101ba381
nop dword [eax]
mov eax, dword [edi]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x101ba34d
mov eax, dword [eax]
mov cl, byte [eax]
mov edx, 0x811c9dc5
test cl, cl
je 0x101ba36c
movzx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax]
test cl, cl
jne 0x101ba358
mov ecx, dword [ebp - 8]
cmp edx, dword [ecx + 0x10]
je 0x101ba407
inc esi
add edi, 4
cmp esi, dword [ebp - 0x10]
jb 0x101ba340
cmp byte [ecx + 0xd], 0
je 0x101ba415
mov dword [ecx + 0x10], 0
sub esp, 0x18
mov eax, dword [0x103390dc]
mov edi, esp
xorps xmm0, xmm0
mov dword [ebp - 8], 0x2f
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 8]
push eax
movups xmmword [edi], xmm0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10003970
mov edx, dword [ebp - 8]
mov esi, eax
mov dword [edi], esi
add esp, 8
mov dword [edi + 0x10], 0x24
mov ecx, ebx
mov dword [edi + 0x14], edx
movups xmm0, xmmword [str.Skybox_not_found__Override_disabled.]
push 8
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x102dc24c]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x102dc25c]
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 0
call fcn.1013f7f0
mov ebx, dword [ebp - 0xc]
jmp 0x101ba47b
mov eax, dword [0x103390dc]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1480], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033a628]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10347ec8]
cmp eax, dword [ecx + 4]
jg 0x101ba761
mov edx, dword [0x10347ecc]
mov eax, dword [edx]
mov esi, dword [eax + 0x40]
mov eax, dword [0x103390dc]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x1480]
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + ecx*4]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x101ba462
mov eax, dword [eax]
push eax
mov ecx, edx
call esi
jmp 0x101ba487
mov eax, dword [0x103390dc]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1480], 0
mov eax, dword [0x103390c8]
mov eax, dword [eax + 0x10]
mov byte [eax + 0xd], 0
mov esi, dword [0x103390c8]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x10], 4
jle 0x101ba5f6
mov eax, dword [ebx + 0x240]
xor edi, edi
mov ecx, dword [ebx + 0x23c]
sub eax, ecx
sar eax, 2
mov byte [ebp - 1], 0
test eax, eax
je 0x101ba52e
mov eax, dword [esi + 0x14]
mov edx, dword [ecx + edi*4]
add eax, 0x14
mov ecx, eax
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101ba4d0
sub ecx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x101ba4e5
mov edx, dword [edx]
push ecx
push dword [ebp - 0xc]
push eax
push edx
call fcn.1002bab0
add esp, 0x10
test al, al
je 0x101ba50d
mov ecx, dword [esi + 0x14]
lea eax, [edi + 5]
mov dl, 1
mov byte [ebp - 1], dl
mov dword [ecx + 0x10], eax
mov esi, dword [0x103390c8]
jmp 0x101ba510
mov dl, byte [ebp - 1]
mov eax, dword [ebx + 0x240]
inc edi
mov ecx, dword [ebx + 0x23c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x101ba4b5
test dl, dl
jne 0x101ba5f6
mov eax, dword [0x103478e4]
test eax, eax
jne 0x101ba553
push str.RandomInt
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x103478e4], eax
push 4
push 1
call eax
mov ecx, dword [0x103390c8]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0xc], 0x2f
xorps xmm0, xmm0
mov ecx, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [0x103390c8]
mov eax, dword [eax + 0x14]
mov byte [eax + 0x14], 0
mov eax, dword [0x103390dc]
mov edi, dword [eax + 0x18]
lea eax, [ebp - 0xc]
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003970
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov dword [esi + 0x14], ecx
add esp, 8
mov dword [esi], edx
mov ecx, edi
mov dword [esi + 0x10], 0x2a
movups xmm0, xmmword [str.Hit_sound_file_not_found._Applying_random.]
push 8
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x102dc274]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [0x102dc284]
movq qword [edx + 0x20], xmm0
mov ax, word [0x102dc28c]
mov word [edx + 0x28], ax
mov byte [edx + 0x2a], 0
call fcn.1013f7f0
mov esi, dword [0x103390c8]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
cmp ecx, 2
jge 0x101ba620
mov eax, dword [0x10339100]
mov dword [eax + 0x10c], ecx
mov edi, dword [0x10339100]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x10339100]
mov ebx, 2
mov ecx, dword [edi + 0x230]
lea eax, [edi + 0x230]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 1], 0
sar eax, 2
cmp eax, ebx
jbe 0x101ba6c1
nop word [eax + eax]
mov eax, dword [esi + 0x18]
mov edx, dword [ecx + ebx*4]
add eax, 0x10
mov ecx, eax
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101ba664
sub ecx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x101ba679
mov edx, dword [edx]
push ecx
push dword [ebp - 0xc]
push eax
push edx
call fcn.1002bab0
add esp, 0x10
test al, al
je 0x101ba6a4
mov dword [edi + 0x10c], ebx
mov dl, 1
mov esi, dword [0x103390c8]
mov edi, dword [0x10339100]
mov byte [ebp - 1], dl
jmp 0x101ba6a7
mov dl, byte [ebp - 1]
mov eax, dword [ebp - 8]
inc ebx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x101ba650
test dl, dl
jne 0x101ba753
mov dword [edi + 0x10c], 0
sub esp, 0x18
mov eax, dword [0x103390dc]
mov esi, esp
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0x2f
mov edi, dword [eax + 0x18]
lea eax, [ebp - 0xc]
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003970
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov dword [esi + 0x14], ecx
add esp, 8
mov dword [esi], edx
mov ecx, edi
mov dword [esi + 0x10], 0x27
movups xmm0, xmmword [str.Theme_file_not_found._Applying_default.]
push 8
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x102dc2a0]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x102dc2b0]
mov dword [edx + 0x20], eax
mov ax, word [0x102dc2b4]
mov word [edx + 0x24], ax
mov al, byte [0x102dc2b6]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
call fcn.1013f7f0
mov edi, dword [0x10339100]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10347ec8
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347ec8], 0xffffffff
jne 0x101ba435
mov eax, dword [0x103390d4]
mov cl, 0x33
mov byte [ebp - 1], 0x28
mov dl, 0x1a
mov ch, 0x3c
mov byte [ebp - 2], 0x20
mov dh, 0x2b
mov bh, 0x24
mov esi, dword [eax + 0x34]
mov al, 0x36
mov bl, al
mov byte [ebp - 0x1c], 0x45
xor al, byte [ebp - 0x1c]
mov ah, 0x2e
xor cl, byte [ebp - 0x1c]
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 1]
mov byte [ebp - 0x1a], cl
mov cl, byte [ebp - 0x1c]
xor al, cl
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x13], al
xor ah, cl
mov al, byte [ebp - 2]
xor dl, cl
xor al, cl
mov byte [ebp - 0x19], dl
xor bl, cl
mov byte [ebp - 0x17], ah
xor ch, cl
mov byte [ebp - 0x18], bl
xor dh, cl
mov byte [ebp - 0x16], ch
xor bh, cl
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x12], al
mov byte [ebp - 0x11], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 0x10347ec8
mov dword [0x10347ecc], eax
call fcn.100c3a51
mov ebx, dword [ebp - 0xc]
add esp, 4
jmp 0x101ba435