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

Disassembly:
push ecx
mov eax, dword fs:[0x2c]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov eax, dword [0x509f78]
push edi
cmp eax, dword [ebp + 4]
jle 0x40a4ff
push 0x509f78
call fcn.0040fcde
add esp, 4
cmp dword [0x509f78], 0xffffffff
jne 0x40a4ff
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
movzx eax, byte [ecx + str.bhop_active]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, 0xb
jb 0x40a4b0
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a4eb
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40ac7a
add esi, 4
cmp esi, ebx
jne 0x40a4d5
xor eax, eax
push 0x509f78
mov dword [0x509f30], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509f50]
cmp eax, dword [ebp + 4]
jle 0x40a5cd
push 0x509f50
call fcn.0040fcde
add esp, 4
cmp dword [0x509f50], 0xffffffff
jne 0x40a5cd
mov ebx, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.chams_active]
xor eax, ebx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x4120d5]
xor ecx, eax
movzx eax, byte [edx + 0x4120d6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x4120d7]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x4120d8]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x4120d9]
imul ecx, ecx, 0x1000193
add edx, 6
xor ecx, eax
imul ebx, ecx, 0x1000193
cmp edx, 0xc
jb 0x40a531
mov esi, dword [0x41511c]
mov edi, dword [0x415120]
cmp esi, edi
je 0x40a5b9
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, ebx
je 0x40ac81
add esi, 4
cmp esi, edi
jne 0x40a5a3
xor eax, eax
push 0x509f50
mov dword [0x509f68], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509ef4]
cmp eax, dword [ebp + 4]
jle 0x40a64f
push 0x509ef4
call fcn.0040fcde
add esp, 4
cmp dword [0x509ef4], 0xffffffff
jne 0x40a64f
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
movzx eax, byte [ecx + str.glow_active]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, 0xb
jb 0x40a600
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a63b
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40ac88
add esi, 4
cmp esi, ebx
jne 0x40a625
xor eax, eax
push 0x509ef4
mov dword [0x509f24], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509f2c]
cmp eax, dword [ebp + 4]
jle 0x40a70e
push 0x509f2c
call fcn.0040fcde
add esp, 4
cmp dword [0x509f2c], 0xffffffff
jne 0x40a70e
mov edi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.glowteam_active]
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x412189]
xor ecx, eax
movzx eax, byte [edx + 0x41218a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x41218b]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x41218c]
imul ecx, ecx, 0x1000193
add edx, 5
xor ecx, eax
imul edi, ecx, 0x1000193
cmp edx, 0xf
jb 0x40a681
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a6fa
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40ac8f
add esi, 4
cmp esi, ebx
jne 0x40a6e4
xor eax, eax
push 0x509f2c
mov dword [0x509f6c], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509f08]
cmp eax, dword [ebp + 4]
jle 0x40a7be
push 0x509f08
call fcn.0040fcde
add esp, 4
cmp dword [0x509f08], 0xffffffff
jne 0x40a7be
mov edi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.nightmode_active]
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x4121b9]
xor ecx, eax
movzx eax, byte [edx + 0x4121ba]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x4121bb]
imul ecx, ecx, 0x1000193
add edx, 4
xor ecx, eax
imul edi, ecx, 0x1000193
cmp edx, 0x10
jb 0x40a740
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a7aa
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40ac96
add esi, 4
cmp esi, ebx
jne 0x40a794
xor eax, eax
push 0x509f08
mov dword [0x509eec], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509ef0]
cmp eax, dword [ebp + 4]
jle 0x40a850
push 0x509ef0
call fcn.0040fcde
add esp, 4
cmp dword [0x509ef0], 0xffffffff
jne 0x40a850
mov edi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.noflash_active]
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x412135]
add edx, 2
xor ecx, eax
imul edi, ecx, 0x1000193
cmp edx, 0xe
jb 0x40a7f0
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a83c
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40ac9d
add esi, 4
cmp esi, ebx
jne 0x40a826
xor eax, eax
push 0x509ef0
mov dword [0x509f74], eax
call fcn.0040fc94
add esp, 4
mov eax, dword [0x509f44]
cmp eax, dword [ebp + 4]
jle 0x40a8f0
push 0x509f44
call fcn.0040fcde
add esp, 4
cmp dword [0x509f44], 0xffffffff
jne 0x40a8f0
mov edi, 0x811c9dc5
xor edx, edx
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [edx + str.clantag_active]
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x412105]
add edx, 2
xor ecx, eax
imul edi, ecx, 0x1000193
cmp edx, 0xe
jb 0x40a890
mov esi, dword [0x41511c]
mov ebx, dword [0x415120]
cmp esi, ebx
je 0x40a8dc
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, edi
je 0x40aca4
add esi, 4
cmp esi, ebx
jne 0x40a8c6
xor eax, eax
push 0x509f44
mov dword [0x509f0c], eax
call fcn.0040fc94
add esp, 4
mov esi, dword [0x415728]
mov ecx, str.bhop
mov edx, esi
sub edx, ecx
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40a900
xor cl, cl
mov byte [esi + 0x3b], 0xf
mov byte [esi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f30]
mov esi, str._on_
mov edi, dword [0x415728]
mov ecx, esi
mov ebp, str._off_
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0x2f]
sete bl
cmp byte [0x4156c1], 0
sete ah
test al, al
lea ebx, [ebx*2 + 0xa]
cmove ecx, ebp
mov al, byte [ecx]
lea edx, [edx + 1]
inc ecx
mov byte [edx - 1], al
test al, al
jne 0x40a950
xor cl, cl
mov byte [edi + 0x3c], bl
mov byte [edi + 0x3e], ah
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.chams
lea edi, [eax + 0x44]
mov dword [eax + 0x40], 0x40acb0
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40a982
mov cl, 1
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f68]
mov ecx, esi
mov edi, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0x73]
sete bl
test al, al
cmove ecx, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40a9c1
mov cl, 1
mov byte [edi + 0x80], bl
mov byte [edi + 0x82], al
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.glow
lea edi, [eax + 0x88]
mov dword [eax + 0x84], 0x40ad50
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40aa00
mov cl, 2
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f24]
mov ecx, esi
mov edi, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0xb7]
sete bl
test al, al
cmove ecx, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40aa42
mov cl, 2
mov byte [edi + 0xc4], bl
mov byte [edi + 0xc6], al
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.team_glow
lea edi, [eax + 0xcc]
mov dword [eax + 0xc8], 0x40adf0
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40aa81
mov cl, 3
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f6c]
mov ecx, esi
mov edi, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0xfb]
sete bl
test al, al
cmove ecx, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40aac3
mov cl, 3
mov byte [edi + 0x108], bl
mov byte [edi + 0x10a], al
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.nightmode
lea edi, [eax + 0x110]
mov dword [eax + 0x10c], 0x40ae90
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40ab02
mov cl, 4
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509eec]
mov ecx, esi
mov edi, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0x13f]
sete bl
test al, al
cmove ecx, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40ab44
mov cl, 4
mov byte [edi + 0x14c], bl
mov byte [edi + 0x14e], al
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.no_flash
lea edi, [eax + 0x154]
mov dword [eax + 0x150], 0x40af30
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40ab83
mov cl, 5
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f74]
mov ecx, esi
mov edi, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea edx, [edi + 0x183]
sete bl
test al, al
cmove ecx, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40abc5
mov cl, 5
mov byte [edi + 0x190], bl
mov byte [edi + 0x192], al
call fcn.00401530
mov eax, dword [0x415728]
mov ecx, str.clantag_changer
lea edi, [eax + 0x198]
mov dword [eax + 0x194], 0x40afd0
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40ac04
mov cl, 6
mov byte [edi + 0x3b], 0xf
mov byte [edi + 0x3e], al
call fcn.00401530
mov eax, dword [0x509f0c]
mov edx, dword [0x415728]
mov al, byte [eax + 4]
test al, al
lea ecx, [edx + 0x1c7]
sete bl
test al, al
cmove esi, ebp
lea ebx, [ebx*2 + 0xa]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x40ac44
mov cl, 6
mov byte [edx + 0x1d4], bl
mov byte [edx + 0x1d6], al
call fcn.00401530
mov eax, dword [0x415728]
pop edi
pop esi
pop ebp
mov dword [eax + 0x1d8], 0x40b070
pop ebx
pop ecx
ret
mov eax, dword [esi]
jmp 0x40a4ed
mov eax, dword [esi]
jmp 0x40a5bb
mov eax, dword [esi]
jmp 0x40a63d
mov eax, dword [esi]
jmp 0x40a6fc
mov eax, dword [esi]
jmp 0x40a7ac
mov eax, dword [esi]
jmp 0x40a83e
mov eax, dword [esi]
jmp 0x40a8de