Function at 0x427512
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48dd83
call fcn.0048cc68
sub esp, 0x98
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
je 0x427618
mov eax, dword [ebx]
cmp eax, 8
jne 0x42756d
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00427f6c
inc dword [ebp - 0x44]
jmp 0x427600
cmp eax, 6
jne 0x42757e
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00427f6c
jmp 0x4275fd
cmp eax, 7
jne 0x4275eb
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
je 0x4275c6
cmp dword [esi - 0x20], 6
je 0x4275c3
lea ecx, [esi - 0x20]
lea edi, [ebp - 0x58]
call fcn.00427f6c
cmp dword [ebp - 0x28], esi
je 0x4275b7
push 0
push 1
lea ecx, [esi - 0x1c]
call fcn.00404dee
add esi, 0xffffffe0
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0x42758f
mov ebx, dword [ebp - 0x2c]
mov eax, esi
sub eax, dword [ebp - 0x28]
test eax, 0xffffffe0
je 0x42761f
cmp dword [ebp - 0x28], esi
je 0x427600
add esi, 0xffffffe0
push 0
push 1
lea ecx, [esi + 4]
call fcn.00404dee
mov dword [ebp - 0x24], esi
jmp 0x427600
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00427f6c
cmp dword [ebx], 5
je 0x4275fd
dec dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add ebx, 0x20
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
jne 0x427554
cmp dword [ebp - 0x44], 1
jge 0x427648
call fcn.004279b4
jmp 0x427624
call fcn.0042793b
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00466965
mov dword [ebp - 0x18], vtable.std::runtime_error.0
push 0x4b2d20
lea eax, [ebp - 0x18]
push eax
call fcn.00470885
jle 0x427679
call fcn.00427a3a
jmp 0x427624
lea ebx, [esi - 0x20]
cmp dword [ebx], 6
je 0x427685
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00427f6c
cmp dword [ebp - 0x28], esi
je 0x427679
push 0
push 1
lea ecx, [ebx + 4]
call fcn.00404dee
mov esi, ebx
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0x427651
sub esi, dword [ebp - 0x28]
sar esi, 5
cmp esi, 1
jbe 0x427697
call fcn.00427ab7
jmp 0x427624
lea eax, [ebp - 0x28]
push eax
call fcn.00427feb
xor edi, edi
lea eax, [ebp + 8]
push eax
xor eax, eax
lea esi, [ebp - 0x40]
mov dword [ebp + 8], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.004285c3
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x54]
je 0x4277e9
mov eax, dword [esi]
cmp eax, 8
jne 0x4276f5
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x427878
mov eax, dword [ecx]
lea edx, [esi + 4]
push edx
call dword [eax + 4]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
jmp 0x4277ca
cmp eax, 5
jne 0x427733
cmp dword [ebp - 0x30], 1
jb 0x42787d
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x40]
call fcn.00428075
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.004280db
test bl, bl
sete al
movzx eax, al
jmp 0x4277c9
cmp dword [ebp - 0x30], 2
jb 0x427887
lea edi, [ebp - 0x6c]
lea eax, [ebp - 0x40]
call fcn.00428075
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne byte [ebp + 0xb]
call fcn.004280db
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00428075
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.004280db
mov eax, dword [esi]
sub eax, 0
je 0x42786b
dec eax
je 0x427854
dec eax
je 0x4277bc
dec eax
je 0x4277af
dec eax
jne 0x427891
test bl, bl
je 0x4277c6
cmp byte [ebp + 0xb], 0
je 0x4277c6
xor al, al
jmp 0x4277c9
test bl, bl
jne 0x4277ab
cmp byte [ebp + 0xb], bl
jne 0x4277ab
mov al, 1
jmp 0x4277c9
test bl, bl
jne 0x4277a5
cmp byte [ebp + 0xb], 0
je 0x4277ab
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004280a9
add esi, 0x20
cmp esi, dword [ebp - 0x54]
jne 0x4276cf
cmp dword [ebp - 0x30], 1
je 0x4278d5
test byte [0x4c7d78], 1
jne 0x427831
or dword [0x4c7d78], 1
mov dword [0x4c6800], 0x6a7d6542
mov dword [0x4c6804], 0x2b6f6267
mov dword [0x4c6808], 0x797b736e
mov dword [0x4c680c], 0x6278786e
mov word [0x4c6810], 0x6564
mov byte [0x4c6812], 0xb
xor eax, eax
mov cl, byte [eax + 0x4c6800]
xor cl, 0xb
mov byte [eax + 0x4c6950], cl
inc eax
cmp eax, 0x13
jb 0x427833
mov dword [ebp + 8], 0x4c6950
jmp 0x427627
test bl, bl
je 0x4277ab
cmp byte [ebp + 0xb], 0
je 0x4277ab
jmp 0x4277b8
test bl, bl
jne 0x4277c6
jmp 0x4277c0
call fcn.004665ad
call fcn.00427b2a
jmp 0x427624
call fcn.00427bb8
jmp 0x427624
mov eax, dword [esi]
cdq
push edx
push eax
lea esi, [ebp - 0x88]
call fcn.0042e223
pop ecx
pop ecx
push eax
mov byte [ebp - 4], 4
call fcn.00427c4f
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00406c50
add esp, 0xc
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00405d39
push 0x4b2d20
mov eax, esi
jmp 0x427642
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00428075
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor esi, esi
inc esi
shl esi, cl
test dword [edx], esi
setne bl
cmp dword [ebp - 0x40], 0
je 0x4278fe
push dword [ebp - 0x40]
call fcn.00467283
pop ecx
lea esi, [ebp - 0x28]
call fcn.0041b646
lea esi, [ebp - 0x58]
call fcn.0041b646
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x42792a
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret