Function at 0x41e2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61803b
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x69cffc]
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 dword [ebp - 0x414], 0
mov dword [ebp - 4], 0
lea edi, [ebp + 8]
or esi, 0xffffffff
mov dword [ebp - 0x4e0], 0x6721e8
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4d0], 0x670300
cmovae edi, dword [ebp + 8]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 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
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x414], 1
lea ecx, [ebp - 0x4e0]
push eax
call fcn.004129c0
mov eax, dword [ebp - 0x4d0]
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 - 0x4d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x4d4], eax
mov eax, dword [ebp - 0x4e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x4e4], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x4e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x4e4], eax
lea ecx, [ebp - 0x4c8]
call fcn.004234c0
push ecx
push 0x21
push edi
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 6
call fcn.00423380
test eax, eax
jne 0x41e43f
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4e0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004143a0
mov eax, dword [ebp - 0x4e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x4e4], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4e0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x4d4]
test al, 6
je 0x41e485
xor esi, esi
jmp 0x41e54b
test al, 1
jne 0x41e50f
nop dword [eax]
sub esp, 8
lea edi, [ebp - 0x410]
mov eax, edi
lea ecx, [ebp - 0x4e0]
push eax
call fcn.00422170
cmp dword [ebp - 0x4d4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x420], xmm0
jl 0x41e4fc
mov ebx, dword [ebp - 0x4d8]
jg 0x41e4c7
test ebx, ebx
je 0x41e4fc
mov edx, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
movsx eax, byte [edi]
lea edi, [edi + 1]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x6a9860]
add ecx, 1
adc edx, 0
cmp edx, dword [ebp - 0x4d4]
jl 0x41e4d3
jg 0x41e4fc
cmp ecx, ebx
jb 0x41e4d3
mov eax, dword [ebp - 0x4e0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4d4], 1
je 0x41e490
lea ecx, [ebp - 0x4c8]
call fcn.00422880
test eax, eax
jne 0x41e549
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4e0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004143a0
not esi
lea ecx, [ebp - 0x4e0]
call fcn.0041e5b0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41e58c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e582
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e5aa
push edx
push ecx
call fcn.0058f106
add esp, 8
mov eax, esi
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.0058f0d5
mov esp, ebp
pop ebp
ret
call fcn.005ef2cd
int3