Function at 0x101a9a60
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.101a8f80
mov ecx, ebx
call fcn.101a8470
mov eax, dword [0x103280cc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
test eax, eax
je 0x101a9be8
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 0x101a9aee
nop word [eax + eax]
mov eax, dword [edi]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x101a9abd
mov eax, dword [eax]
mov cl, byte [eax]
mov edx, 0x811c9dc5
test cl, cl
je 0x101a9adc
movzx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax]
test cl, cl
jne 0x101a9ac8
cmp edx, dword [ebp - 8]
je 0x101a9b88
inc esi
add edi, 4
cmp esi, dword [ebp - 0x10]
jb 0x101a9ab0
mov eax, dword [0x103280cc]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xd], 0
je 0x101a9b96
mov dword [eax + 0x10], 0
sub esp, 0x18
mov eax, dword [0x103280dc]
mov edi, esp
xorps xmm0, xmm0
mov dword [ebp - 8], 0x2f
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 8]
push eax
movups xmmword [edi], xmm0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10003bb0
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 [0x102cbdac]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x102cbdbc]
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], 0
call fcn.10132020
mov eax, dword [0x103280cc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov byte [eax + 0xd], 1
jmp 0x101a9be8
mov eax, dword [0x103280dc]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0x880], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336e84]
cmp eax, dword [ecx + 4]
jg 0x101a9ebb
mov edx, dword [0x10336e88]
mov eax, dword [edx]
mov esi, dword [eax + 0x40]
mov eax, dword [0x103280dc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x880]
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + ecx*4]
add eax, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x101a9be3
mov eax, dword [eax]
push eax
mov ecx, edx
call esi
mov eax, dword [0x103280cc]
mov eax, dword [eax + 0x14]
cmp dword [eax + 8], 4
jle 0x101a9d4d
mov eax, dword [ebx + 0x240]
xor esi, esi
mov ecx, dword [ebx + 0x23c]
sub eax, ecx
sar eax, 2
mov byte [ebp - 1], 0
test eax, eax
je 0x101a9c8b
mov eax, dword [0x103280cc]
mov edx, dword [ecx + esi*4]
mov edi, dword [eax + 0x14]
lea ecx, [edi + 0xc]
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a9c30
sub ecx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
jbe 0x101a9c48
mov edx, dword [edx]
push ecx
lea eax, [edi + 0xc]
push eax
push dword [ebp - 0x10]
push edx
call fcn.1002b830
add esp, 0x10
test al, al
je 0x101a9c6a
lea eax, [esi + 5]
mov dl, 1
mov dword [edi + 8], eax
mov byte [ebp - 1], dl
jmp 0x101a9c6d
mov dl, byte [ebp - 1]
mov eax, dword [ebx + 0x240]
inc esi
mov ecx, dword [ebx + 0x23c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x101a9c15
test dl, dl
jne 0x101a9d4d
mov eax, dword [0x10336910]
test eax, eax
jne 0x101a9cb0
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 [0x10336910], eax
push 4
push 1
call eax
mov ecx, dword [0x103280cc]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0xc], 0x2f
xorps xmm0, xmm0
mov ecx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [0x103280cc]
mov eax, dword [eax + 0x14]
mov byte [eax + 0xc], 0
mov eax, dword [0x103280dc]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003bb0
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 [0x102cbdd4]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [0x102cbde4]
movq qword [edx + 0x20], xmm0
mov ax, word [0x102cbdec]
mov word [edx + 0x28], ax
mov byte [edx + 0x2a], 0
call fcn.10132020
mov eax, dword [0x103280cc]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
cmp ecx, 2
jge 0x101a9d7c
mov eax, dword [0x103280fc]
mov dword [eax + 0x10c], ecx
mov esi, dword [0x103280fc]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x103280fc]
mov edi, 2
mov ecx, dword [esi + 0x230]
lea eax, [esi + 0x230]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 1], 0
sar eax, 2
cmp eax, edi
jbe 0x101a9e1b
nop word [eax + eax]
mov eax, dword [0x103280cc]
mov edx, dword [ecx + edi*4]
mov ebx, dword [eax + 0x18]
add ebx, 0x10
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a9dc6
sub ecx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x101a9ddb
mov edx, dword [edx]
push ecx
push ebx
push eax
push edx
call fcn.1002b830
add esp, 0x10
test al, al
je 0x101a9dfe
mov dl, 1
mov dword [esi + 0x10c], edi
mov esi, dword [0x103280fc]
mov byte [ebp - 1], dl
jmp 0x101a9e01
mov dl, byte [ebp - 1]
mov eax, dword [ebp - 0xc]
inc edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x101a9db0
test dl, dl
jne 0x101a9ead
mov dword [esi + 0x10c], 0
sub esp, 0x18
mov eax, dword [0x103280dc]
mov esi, esp
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0x2f
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003bb0
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 [0x102cbe00]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x102cbe10]
mov dword [edx + 0x20], eax
mov ax, word [0x102cbe14]
mov word [edx + 0x24], ax
mov al, byte [0x102cbe16]
mov byte [edx + 0x26], al
mov byte [edx + 0x27], 0
call fcn.10132020
mov esi, dword [0x103280fc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10336e84
call fcn.100bbde8
add esp, 4
cmp dword [0x10336e84], 0xffffffff
jne 0x101a9bb6
mov eax, dword [0x103280d8]
mov cl, 0x52
mov byte [ebp - 1], 0x49
mov dl, 0x7b
mov ch, 0x5d
mov byte [ebp - 2], 0x41
mov dh, 0x4a
mov bh, 0x45
mov esi, dword [eax + 0x34]
mov al, 0x57
mov bl, al
mov byte [ebp - 0x1c], 0x24
xor al, byte [ebp - 0x1c]
mov ah, 0x4f
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 0x10336e84
mov dword [0x10336e88], eax
call fcn.100bbd97
mov ebx, dword [ebp - 0xc]
add esp, 4
jmp 0x101a9bb6