Function at 0x45ae80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b71
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x4e1654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xfc], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1b8], 0x4ba5c0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0xf4], 1
call fcn.0043ed90
mov eax, dword [ebp - 0x1b8]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1b8], 0x4ba5bc
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1bc], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0048aa51
mov esi, eax
add esp, 4
test esi, esi
je 0x45af86
push 1
mov byte [ebp - 4], 3
call fcn.00474862
add esp, 4
mov dword [esi + 4], eax
jmp 0x45af88
xor esi, esi
mov ecx, dword [0x4e3680]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
mov eax, dword [0x4e367c]
mov dword [ebp - 0x180], esi
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x16c], 0
mov byte [ebp - 0x177], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1b8]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x1ac]
mov edx, dword [ebp + ecx - 0x1a8]
mov dword [ebp - 0xf8], eax
or edx, 2
and eax, 0x17
and edx, 0x17
mov dword [ebp + ecx - 0x1ac], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp + ecx - 0x1a8], edx
and eax, edx
jne 0x45b9b2
mov eax, dword [ebp - 0xfc]
add eax, 0x17c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45b0b1
mov eax, dword [eax]
push ecx
xor edx, edx
mov dword [ebp - 0xd8], 0
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], dx
call fcn.0041ea60
mov dword [ebp - 0xf4], 7
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45b101
mov eax, dword [eax]
push ecx
xor edx, edx
mov dword [ebp - 0xc0], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], dx
call fcn.0041ea60
mov dword [ebp - 0xf4], 0x1f
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00419b90
add esp, 0xc
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.00416c70
mov dword [ebp - 0xf4], 0x3f
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x45b1b5
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b1ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9fb
push edx
push ecx
call fcn.0048aa81
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x45b20d
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9fb
push edx
push ecx
call fcn.0048aa81
add esp, 8
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x45b26e
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9fb
push edx
push ecx
call fcn.0048aa81
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0x64], 0x59bc
mov eax, dword [ebp - 0x64]
xor eax, 0x54
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x64]
inc eax
xor eax, 0x72
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x64]
add eax, 2
xor eax, 0x79
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x64]
add eax, 3
xor eax, 0x69
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x64]
add eax, 4
xor eax, 0x6e
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x64]
add eax, 5
xor eax, 0x67
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x64]
add eax, 6
xor eax, 0x20
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x64]
add eax, 7
xor eax, 0x74
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x64]
add eax, 8
xor eax, 0x6f
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x64]
add eax, 9
xor eax, 0x20
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x64]
add eax, 0xa
xor eax, 0x63
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x64]
add eax, 0xb
xor eax, 0x72
mov word [ebp - 0x4a], ax
mov eax, dword [ebp - 0x64]
add eax, 0xc
xor eax, 0x65
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x64]
add eax, 0xd
xor eax, 0x61
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x64]
add eax, 0xe
xor eax, 0x74
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x64]
add eax, 0xf
xor eax, 0x65
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x64]
add eax, 0x10
xor eax, 0x20
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x64]
add eax, 0x11
xor eax, 0x66
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x64]
add eax, 0x12
xor eax, 0x69
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x64]
add eax, 0x13
xor eax, 0x6c
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x64]
add eax, 0x14
xor eax, 0x65
mov word [ebp - 0x38], ax
xor eax, eax
mov word [ebp - 0x36], ax
xor edx, edx
mov ax, word [ebp - 0x60]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x60]
mov ecx, dword [ebp - 0x64]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x60], cx
inc edx
cmp edx, 0x15
jb 0x45b3b0
xor eax, eax
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x60]
mov dword [ebp - 0xfc], eax
call fcn.00425d60
mov ecx, eax
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c0], 0
movq xmm0, qword [ebp - 0x1c4]
xor edx, edx
push eax
mov ecx, dword [ecx + 0x114]
lea eax, [ebp - 0xfc]
push eax
push 7
push 0x4b99bc
push 2
sub esp, 0xc
mov dword [ebp - 0x1bc], edx
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], edx
call fcn.0040ac00
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
push 0x40
cmovae eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0x1b8]
push 0x22
push eax
mov byte [ebp - 4], 0xc
call fcn.0045bb00
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [ebp - 4], 0xb
push 0
push eax
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.0043e540
cmp dword [ebp - 0x168], 0
je 0x45b4d6
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x178]
cmp dword [eax], ecx
jne 0x45b4b0
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x164]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x198]
mov dword [eax], ecx
mov eax, dword [ebp - 0x188]
mov dword [eax], edx
lea esi, [ebp - 0x1b4]
mov ecx, esi
call fcn.0043d5f0
push dword [ebp - 0x168]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0048fbdf
add esp, 4
test eax, eax
je 0x45b4d8
xor esi, esi
mov ecx, dword [0x4e3680]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
mov eax, dword [0x4e367c]
mov byte [ebp - 0x16c], 0
mov byte [ebp - 0x177], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x17c], 0
test esi, esi
jne 0x45b5d5
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x180], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x1ac]
and eax, 0x17
mov dword [ebp + ecx - 0x1ac], eax
mov ecx, dword [ebp + ecx - 0x1a8]
and ecx, eax
jne 0x45ba00
mov edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0x45b615
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b60b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ba4b
push edx
push ecx
call fcn.0048aa81
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
lea ecx, [ebp - 0x1b8]
call fcn.0043c610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048af00
mov esp, ebp
pop ebp
ret 8
test al, 4
je 0x45b9bd
mov esi, str.ios_base::badbit_set
jmp 0x45b9cc
test al, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x104]
push 1
push eax
call fcn.004261a0
add esp, 8
lea ecx, [ebp - 0x1f4]
push eax
push esi
call fcn.00417600
push 0x4d9754
lea eax, [ebp - 0x1f4]
push eax
call fcn.0048c287
call fcn.0048f71f
test cl, 4
je 0x45ba0c
mov esi, str.ios_base::badbit_set
jmp 0x45ba1c
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1e0]
push 1
push eax
call fcn.004261a0
add esp, 8
lea ecx, [ebp - 0x208]
push eax
push esi
call fcn.00417600
push 0x4d9754
lea eax, [ebp - 0x208]
push eax
call fcn.0048c287
call fcn.0048f71f
int3