Function at 0x4af1e0
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 0x560f2a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7e8
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 esi, edx
mov dword [ebp - 0x7b0], esi
mov edi, ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x7b4], eax
mov eax, 0xf
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4ac], edi
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 - 0x570]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00532960
add esp, 4
lea ecx, [ebp - 0x570]
push 1
push edi
call fcn.00414650
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x564], 6
je 0x4af75c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0053dabd
add esp, 0xc
mov dword [ebp - 0x7bc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x7b8], 0
lea ecx, [ebp - 0x7cc]
movups xmmword [ebp - 0x7cc], xmm0
push 5
push str._3_
call fcn.0040f680
mov ecx, edi
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 0x4af340
sub ecx, edx
push ecx
push edi
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 - 0x4b0]
lea ecx, [ebp - 0x7e4]
call fcn.0041aac0
lea eax, [ebp - 0x7cc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x7e4]
push eax
push dword [ebp - 0x4b0]
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 0x4af3e0
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 0x4af480
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af476
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
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 - 0x7d0]
cmp ecx, 0xf
jbe 0x4af4d9
mov edx, dword [ebp - 0x7e4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af4cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0xf
jbe 0x4af517
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af50d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x4af555
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af54b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x7b8]
cmp ecx, 0xf
jbe 0x4af593
mov edx, dword [ebp - 0x7cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af589
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
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 - 0x620]
push 0xb0
push 0
push eax
call fcn.00532960
add esp, 4
lea ecx, [ebp - 0x620]
push 2
push edi
call fcn.004ff400
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x620]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x614], 6
je 0x4af6ab
call esi
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 - 0x7e4]
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 - 0x7d0]
cmp ecx, 0xf
jbe 0x4af67b
mov edx, dword [ebp - 0x7e4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4af671
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd49
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 - 0x620]
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 - 0x620]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x624], eax
lea ecx, [ebp - 0x61c]
call fcn.004156c0
mov eax, dword [ebp - 0x620]
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 - 0x620]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x624], eax
lea eax, [ebp - 0x5b8]
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 0x4afcab
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4afca1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd4e
jmp 0x4afca1
mov ecx, dword [ebp - 0x7b4]
call fcn.00498e80
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x4af78e
mov ecx, esi
call fcn.0042cf90
add esi, 0x188
cmp esi, edi
jne 0x4af770
mov esi, dword [ebp - 0x7b0]
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x4af794
mov esi, dword [ebp - 0x7b0]
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 - 0x570]
call fcn.00496360
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4afbe9
mov edx, 0x5a54fc
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 - 0x4ac], eax
cmp esi, eax
je 0x4af881
mov edi, eax
mov edx, 0x5a54fc
mov ecx, esi
call fcn.004335b0
add esi, 0x18
cmp esi, edi
jne 0x4af862
mov edi, dword [ebp - 0x424]
mov eax, dword [ebp - 0x4ac]
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, 6
jb 0x4afbb3
mov esi, edi
cmp dword [esi + 0x14], 0xf
lea eax, [esi + 0x14]
mov dword [ebp - 0x7ac], eax
jbe 0x4af8b2
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x4af8d2
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4af8c0
mov ecx, dword [ebp - 0x7b4]
lea eax, [ebp - 0x7ec]
push edx
push edi
push eax
call fcn.00435bd0
cmp dword [eax + 4], 0
jne 0x4afbb3
sub esp, 0x18
lea ecx, [ebp - 0x7a8]
call fcn.0042cca0
lea eax, [ebp - 0x66c]
mov byte [ebp - 4], 0x13
cmp eax, edi
je 0x4af92a
mov ecx, dword [ebp - 0x7ac]
mov eax, edi
cmp dword [ecx], 0xf
jbe 0x4af91b
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x66c]
push eax
call fcn.004176a0
cmp dword [edi + 0x2c], 0xf
lea eax, [edi + 0x18]
jbe 0x4af935
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x768]
push 0x21
push eax
call fcn.0053d80b
add esp, 0xc
lea esi, [edi + 0x48]
call fcn.005371d8
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x7ac], eax
jbe 0x4af95d
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0x4b4]
push 0xa
push eax
push esi
call fcn.00536a55
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x4b4]
je 0x4afd62
mov eax, dword [ebp - 0x7ac]
cmp dword [eax], 0x22
je 0x4afd58
push edx
mov dword [ebp - 0x778], ecx
mov dword [ebp - 0x774], edx
mov edx, str.DD.MM.Y_hh:mm
push ecx
lea ecx, [ebp - 0x448]
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 - 0x726]
push 0x21
push eax
call fcn.0053d80b
add esp, 0x14
lea esi, [edi + 0x60]
call fcn.005371d8
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x7ac], eax
jbe 0x4af9f0
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0x4b0]
push 0xa
push eax
push esi
call fcn.00536a55
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x4b0]
je 0x4afd62
mov eax, dword [ebp - 0x7ac]
cmp dword [eax], 0x22
je 0x4afd58
lea eax, [edi + 0x78]
mov dword [ebp - 0x770], ecx
push eax
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x76c], edx
call fcn.00416720
mov ecx, dword [ebp - 0x4ac]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
jb 0x4afa70
add edi, 0x90
lea eax, [ebp - 0x63c]
cmp eax, edi
je 0x4afa8d
jmp 0x4afa75
mov edi, 0x5de500
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x4afa80
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x63c]
call fcn.004176a0
cmp dword [ebp - 0x658], 0xf
lea eax, [ebp - 0x66c]
push dword [ebp - 0x65c]
cmova eax, dword [ebp - 0x66c]
lea edx, [ebp - 0x7a8]
push eax
mov ecx, 0x5df1d0
call fcn.004a9e50
lea eax, [ebp - 0x460]
mov edx, str.7enable_1tempban_7for
push eax
lea ecx, [ebp - 0x7a8]
call fcn.004bc800
add esp, 0xc
test al, al
je 0x4afb02
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 0x4afb4f
mov ecx, dword [ebp - 0x7b4]
lea eax, [ebp - 0x7a8]
push eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x7f4]
push eax
call fcn.00493f30
mov esi, dword [ebp - 0x7b0]
lea ecx, [ebp - 0x7a8]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4afb47
mov ecx, eax
call fcn.0049ff20
add dword [esi + 4], 0x188
jmp 0x4afb4f
push eax
mov ecx, esi
call fcn.00499fe0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x4afb8d
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4afb83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd44
push ecx
push edx
call fcn.00524a57
add esp, 8
lea ecx, [ebp - 0x7a8]
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 - 0x570]
call fcn.00496360
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4af800
mov esi, dword [ebp - 0x7b0]
mov edi, dword [esi + 4]
mov eax, 0x5397829d
mov ecx, dword [esi]
mov esi, edi
push dword [ebp - 0x4b0]
sub esi, ecx
imul esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.0050d6f0
mov byte [ebp - 4], 0x10
add esp, 8
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0xf
jbe 0x4afc52
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4afc48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd53
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 0x4afcab
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4afca1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afd53
push ecx
push edx
call fcn.00524a57
add esp, 8
mov eax, dword [ebp - 0x570]
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 - 0x570]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x574], eax
lea ecx, [ebp - 0x560]
call fcn.004156c0
mov eax, dword [ebp - 0x570]
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 - 0x570]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x574], eax
lea eax, [ebp - 0x500]
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
push str.stoll_argument_out_of_range
call fcn.00522016
push str.invalid_stoll_argument
call fcn.00521fd6
int3