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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e43d8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov eax, dword [edi + 0x5c]
lea ecx, [ebp - 0x28]
push 0xe
mov dword [ebp - 0x28], 0
push str.Stats_on_Right
mov dword [ebp - 0x68], 0x1ce
mov dword [edi + 0x60], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xc]
call fcn.1005ae70
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x78], esp
push 4
push str.None
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1003f030
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0xe
push str.Stats_on_Right
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1003f030
push esi
push 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0
push eax
call fcn.1004b190
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10059ab9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059aaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ec5
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push 0xb
push str.Stat_Screen
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1003f030
mov ecx, dword [0x1012f0e8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004c270
lea ecx, [ebp - 0x34]
call fcn.1003ee50
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x6c], 0
sar edx, 3
mov eax, edx
mov dword [ebp - 0x60], ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x78], eax
je 0x10059d91
mov edx, dword [ebx + 0x14]
mov eax, ebx
cmp edx, 0x10
jb 0x10059b4d
mov eax, dword [ebx]
mov esi, ebx
jb 0x10059b53
mov esi, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov edi, ebx
add esi, ecx
cmp edx, 0x10
jb 0x10059b61
mov edi, dword [ebx]
cmp edi, esi
je 0x10059b8c
sub eax, edi
mov dword [ebp - 0x5c], eax
mov ebx, eax
nop dword [eax]
movsx eax, byte [edi]
push eax
call fcn.100c4148
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10059b70
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebx + 0x10]
jmp 0x10059b8e
mov esi, ecx
cmp dword [ebx + 0x14], 0x10
mov edi, ebx
jb 0x10059b98
mov edi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x10059bb4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10059ba3
push edx
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.1005b720
cmp dword [eax + 4], 0
je 0x10059d78
push ebx
call fcn.1005ae50
push 0x20
call fcn.100b4eaa
mov edi, eax
add esp, 4
xor esi, esi
mov dword [ebp - 0x5c], edi
mov ecx, 0xf
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x74], edi
cmp edi, ebx
je 0x10059c3e
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x10059c2d
mov eax, dword [ebx]
push dword [ebx + 0x10]
mov ecx, edi
push eax
call fcn.1003f030
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov byte [edi + 0x1c], 0
mov eax, edi
cmp ecx, 0x10
jb 0x10059c4b
mov eax, dword [edi]
mov edx, edi
jb 0x10059c51
mov edx, dword [edi]
add esi, edx
cmp ecx, 0x10
jb 0x10059c5d
mov edi, dword [ebp - 0x5c]
mov edi, dword [edi]
cmp edi, esi
je 0x10059c87
sub eax, edi
mov dword [ebp - 0x70], eax
mov ebx, eax
nop dword [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.100c4148
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10059c70
mov ebx, dword [ebp - 0x60]
push 1
push 3
sub esp, 0x18
lea eax, [ebx + 0x18]
mov ecx, esp
push eax
call fcn.1003ecf0
lea ecx, [ebp - 0x58]
call fcn.10041090
add esp, 0x18
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.1005ad80
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10059cec
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ec5
push edx
push ecx
call fcn.100b4eda
add esp, 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0x48], 0
push eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x60], 0xffffffff
call fcn.100449b0
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x124], 6
mov eax, dword [ebp - 0x5c]
jne 0x10059d38
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jle 0x10059d38
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], ecx
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 0x60]
cmp ecx, dword [edi + 0x64]
je 0x10059d5a
mov dword [ecx], eax
lea ecx, [ebp - 0x130]
add dword [edi + 0x60], 4
mov byte [ebp - 4], 2
call fcn.1004a9c0
jmp 0x10059d7b
lea eax, [ebp - 0x74]
push eax
push ecx
lea ecx, [edi + 0x5c]
call fcn.1005b070
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.1004a9c0
jmp 0x10059d7b
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x6c]
add ebx, 0x30
inc esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], esi
cmp esi, dword [ebp - 0x78]
jb 0x10059b41
mov eax, dword [edi + 0x60]
sub eax, dword [edi + 0x5c]
sar eax, 2
test eax, eax
je 0x10059da9
shl eax, 4
add eax, 0x1d6
mov dword [ebp - 0x68], eax
push 0xe
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.Stats_on_Right
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1003f030
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xc]
call fcn.1005ae70
cmp byte [eax + 4], 0
je 0x10059dfd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [0x1012f1e8]
mov esi, dword [ecx]
sub esi, eax
sub esi, 0xa
jmp 0x10059e02
mov esi, 0xa
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10059e3a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059e30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059eca
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov eax, dword [0x1012f1e0]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp esi, dword [eax]
ja 0x10059e72
add edi, 0x44
push edi
call ebx
mov eax, dword [ebp - 0x64]
push edi
mov dword [eax + 0x2c], esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
jmp 0x10059e7b
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add edi, 0x44
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x1012f1d0]
mov ecx, dword [ecx]
sub ecx, eax
cmp dword [ebp - 0x68], ecx
ja 0x10059ea1
push edi
call ebx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
push edi
mov dword [eax + 0x38], ecx
call esi
lea ecx, [ebp - 0x1c]
call fcn.1003ee50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret
call fcn.100ba49f
call fcn.100ba49f
int3