Function at 0x4afd70
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 0x56100a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7e0
mov eax, dword [0x5ca1c0]
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, edx
mov dword [ebp - 0x7a4], edi
mov esi, ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x7ac], eax
mov eax, 0xf
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], eax
mov byte [ebp - 0x4a8], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x490], xmm0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], eax
mov byte [ebp - 0x490], 0
push 0xb8
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00532960
add esp, 4
lea ecx, [ebp - 0x568]
push 1
push esi
call fcn.00414650
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x568]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x55c], 6
je 0x4b02ec
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0053dabd
add esp, 0xc
mov dword [ebp - 0x7b4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x7b0], 0
lea ecx, [ebp - 0x7c4]
movups xmmword [ebp - 0x7c4], xmm0
push 5
push str._3_
call fcn.0040f680
mov ecx, esi
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x438], 0
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x434], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4afed0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x448]
call fcn.0040f680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x460]
push 0x2a
xorps xmm0, xmm0
mov dword [ebp - 0x450], 0
push str.3Couldnt_open_file_at_specified_path_1_
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x44c], 0
call fcn.0040f680
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x7dc]
call fcn.0041aac0
lea eax, [ebp - 0x7c4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x7dc]
push eax
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x478]
call fcn.0041aac0
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 7
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aff70
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.004177a0
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x430], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x420], xmm0
mov byte [ebp - 4], 9
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x464]
cmp ecx, 0xf
jbe 0x4b0010
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b0006
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7c8]
cmp ecx, 0xf
jbe 0x4b0069
mov edx, dword [ebp - 0x7dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b005f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0xf
jbe 0x4b00a7
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b009d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x4b00e5
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b00db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x7b0]
cmp ecx, 0xf
jbe 0x4b0123
mov edx, dword [ebp - 0x7c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b0119
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [ebp - 0x41c], 0xf
lea edx, [ebp - 0x430]
push 1
cmova edx, dword [ebp - 0x430]
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
lea eax, [ebp - 0x618]
push 0xb0
push 0
push eax
call fcn.00532960
add esp, 4
lea ecx, [ebp - 0x618]
push 2
push esi
call fcn.004ff400
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x618]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x60c], 6
je 0x4b023b
call edi
push eax
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0053dabd
add esp, 0xc
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x4ac]
lea ecx, [ebp - 0x7dc]
push eax
push 0x2d
push str.3Couldnt_create_file_at_13__nError:_1
call fcn.00502650
add esp, 0xc
lea ecx, [ebp - 0x430]
push eax
call fcn.00416720
mov ecx, dword [ebp - 0x7c8]
cmp ecx, 0xf
jbe 0x4b020b
mov edx, dword [ebp - 0x7dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b0201
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b086e
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [ebp - 0x41c], 0xf
lea edx, [ebp - 0x430]
push 1
cmova edx, dword [ebp - 0x430]
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
mov ecx, dword [ebp - 0x618]
add esp, 0x14
mov eax, dword [ecx + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x61c], eax
lea ecx, [ebp - 0x614]
call fcn.004156c0
mov eax, dword [ebp - 0x618]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x61c], eax
lea eax, [ebp - 0x5b0]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00522431
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0xf
jbe 0x4b07d0
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b07c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0873
jmp 0x4b07c6
mov ecx, dword [ebp - 0x7ac]
call fcn.00498e80
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
je 0x4b031e
mov edi, eax
mov ecx, esi
call fcn.0042cf90
add esi, 0x188
cmp esi, edi
jne 0x4b0302
mov edi, dword [ebp - 0x7a4]
mov eax, dword [edi]
mov dword [edi + 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
movups xmmword [ebp - 0x478], xmm0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
lea edx, [ebp - 0x478]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x568]
call fcn.00496360
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4b0709
nop word [eax + eax]
mov edx, str.__t_n_f_v_r
lea ecx, [ebp - 0x478]
call fcn.004335b0
push ecx
push 0
sub esp, 8
mov dword [ebp - 0x41c], 0
xorps xmm0, xmm0
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x424]
movq qword [ebp - 0x424], xmm0
push 0x593528
call fcn.00433e70
add esp, 0x14
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x424]
mov esi, edi
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x7a8], eax
cmp esi, eax
je 0x4b0411
mov edi, eax
mov edx, str.__t_n_f_v_r
mov ecx, esi
call fcn.004335b0
add esi, 0x18
cmp esi, edi
jne 0x4b03f2
mov edi, dword [ebp - 0x424]
mov eax, dword [ebp - 0x7a8]
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jb 0x4b06d3
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x30]
test eax, eax
je 0x4b06d3
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x4ac], esi
jbe 0x4b0451
mov ecx, dword [esi]
mov dword [ebp - 0x4ac], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x4b047a
mov edi, dword [ebp - 0x4ac]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x4b0462
mov edi, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x7ac]
lea eax, [ebp - 0x7e4]
push edx
push esi
push eax
call fcn.00435bd0
cmp dword [eax + 4], 0
jne 0x4b06d3
sub esp, 0x18
lea ecx, [ebp - 0x7a0]
call fcn.0042cca0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 0x13
cmp eax, edi
je 0x4b04cd
mov eax, edi
cmp dword [eax + 0x14], 0xf
jbe 0x4b04be
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x664]
push eax
call fcn.004176a0
cmp dword [edi + 0x2c], 0xf
lea eax, [edi + 0x18]
jbe 0x4b04d8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x73f]
push 0x21
push eax
call fcn.0053d80b
add esp, 0xc
cmp dword [esi + 0x14], 0xf
jbe 0x4b04f2
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x760]
push 0x21
push eax
call fcn.0053d80b
add esp, 0xc
lea ecx, [edi + 0x48]
call fcn.004f4730
push edx
mov dword [ebp - 0x76c], edx
lea ecx, [ebp - 0x448]
push eax
mov edx, str.DD.MM.Y_hh:mm
mov dword [ebp - 0x770], eax
call fcn.004f1540
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 0xf
cmova eax, dword [ebp - 0x448]
push eax
lea eax, [ebp - 0x71e]
push 0x21
push eax
call fcn.0053d80b
add esp, 0x14
lea eax, [edi + 0x60]
lea ecx, [ebp - 0x64c]
push eax
call fcn.00416720
mov ecx, dword [ebp - 0x7a8]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
jb 0x4b0590
lea eax, [edi + 0x78]
lea ecx, [ebp - 0x634]
cmp ecx, eax
je 0x4b05ad
jmp 0x4b0595
mov eax, 0x5de500
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x4b05a0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.004176a0
cmp dword [ebp - 0x650], 0xf
lea eax, [ebp - 0x664]
push dword [ebp - 0x654]
cmova eax, dword [ebp - 0x664]
lea edx, [ebp - 0x7a0]
push eax
mov ecx, 0x5df1d0
call fcn.004a9e50
lea eax, [ebp - 0x460]
mov edx, str.7enable_1player_name_ban_7for
push eax
lea ecx, [ebp - 0x7a0]
call fcn.004bc800
add esp, 0xc
test al, al
je 0x4b0622
cmp dword [ebp - 0x44c], 0xf
lea edx, [ebp - 0x460]
push 1
cmova edx, dword [ebp - 0x460]
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
jmp 0x4b066f
mov ecx, dword [ebp - 0x7ac]
lea eax, [ebp - 0x7a0]
push eax
lea eax, [ebp - 0x760]
push eax
lea eax, [ebp - 0x7ec]
push eax
call fcn.00495360
mov esi, dword [ebp - 0x7a4]
lea ecx, [ebp - 0x7a0]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4b0667
mov ecx, eax
call fcn.0049ff20
add dword [esi + 4], 0x188
jmp 0x4b066f
push eax
mov ecx, esi
call fcn.00499fe0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x4b06ad
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b06a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0869
push ecx
push edx
call fcn.00524a57
add esp, 8
lea ecx, [ebp - 0x7a0]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.0042cf90
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 0x11
call fcn.004172f0
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x568]
call fcn.00496360
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4b0390
mov edi, dword [ebp - 0x7a4]
mov ecx, dword [ebp - 0x7a4]
mov eax, 0x5397829d
mov esi, dword [edi + 4]
push dword [ebp - 0x4ac]
mov ecx, dword [ecx]
sub esi, ecx
imul esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 4]
push eax
call fcn.0050d6f0
mov byte [ebp - 4], 0x10
add esp, 8
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0xf
jbe 0x4b0777
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b076d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0878
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
cmp ecx, 0xf
jbe 0x4b07d0
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b07c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0878
push ecx
push edx
call fcn.00524a57
add esp, 8
mov eax, dword [ebp - 0x568]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x568]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x56c], eax
lea ecx, [ebp - 0x558]
call fcn.004156c0
mov eax, dword [ebp - 0x568]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x568]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x56c], eax
lea eax, [ebp - 0x4f8]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00522431
add esp, 4
mov ecx, 0xf
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.0052450f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
call fcn.0053ce3a
int3