Function at 0x41ff22
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x488abd
call fcn.00488604
sub esp, 0x6c
cmp dword [0x5d4c24], 0
push esi
push edi
jne 0x41ff92
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0042b1cb
push ecx
push 0x18
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0042a809
xor edx, edx
mov cl, byte [esi + edx + 1]
lea eax, [ebp - 0x40]
xor cl, byte [esi]
cmp dword [ebp - 0x2c], 0xf
cmova eax, dword [ebp - 0x40]
mov byte [eax + edx], cl
inc edx
cmp edx, 0x18
jb 0x41ff55
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00468b54
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0042a7b0
jmp 0x420122
mov edi, dword [0x5d4c20]
mov dword [ebp - 0x1c], edi
mov esi, dword [edi]
cmp esi, edi
je 0x420122
mov eax, dword [esi + 8]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.0042a56c
mov ah, al
mov byte [ebp - 0x29], 0
xor al, 0x6e
mov byte [ebp - 0x38], ah
mov byte [ebp - 0x35], al
mov cl, ah
mov al, ah
xor cl, 0x43
xor al, 0x74
mov byte [ebp - 0x37], cl
mov byte [ebp - 0x34], al
mov cl, ah
mov al, ah
xor cl, 0x72
xor al, 0x6c
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x31], al
mov dl, ah
mov byte [ebp - 0x30], al
xor dl, 0x6f
mov al, ah
mov byte [ebp - 0x2e], cl
xor al, 0x65
mov byte [ebp - 0x36], dl
mov byte [ebp - 0x2f], al
mov al, ah
xor al, 0x20
mov byte [ebp - 0x32], dl
mov byte [ebp - 0x2d], al
mov al, ah
xor al, 0x25
mov byte [ebp - 0x2c], al
mov al, ah
xor al, 0x64
mov byte [ebp - 0x2b], al
mov al, ah
push ecx
xor al, 0x3a
lea ecx, [ebp - 0x5c]
push 0xe
mov byte [ebp - 0x2a], al
call fcn.0042a809
mov ch, byte [ebp - 0x38]
xor edx, edx
mov cl, byte [ebp + edx - 0x37]
lea eax, [ebp - 0x5c]
xor cl, ch
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
mov byte [eax + edx], cl
inc edx
cmp edx, 0xe
jb 0x420026
push dword [ebp - 0x18]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00468b54
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.0042a7b0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0xf
jbe 0x420077
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
call fcn.0042a56c
mov dl, al
mov byte [ebp - 0x1d], 0
xor al, 0x65
mov byte [ebp - 0x26], dl
mov byte [ebp - 0x22], al
mov cl, dl
xor cl, 0x4e
mov al, dl
xor al, 0x3a
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x21], al
mov cl, dl
xor cl, 0x61
mov al, dl
xor al, 0x20
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x20], al
mov cl, dl
mov al, dl
xor cl, 0x6d
xor al, 0x25
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x1f], al
mov al, dl
push ecx
xor al, 0x73
lea ecx, [ebp - 0x74]
push 8
mov byte [ebp - 0x1e], al
call fcn.0042a809
mov dl, byte [ebp - 0x26]
xor edi, edi
mov cl, byte [ebp + edi - 0x25]
lea eax, [ebp - 0x74]
xor cl, dl
cmp dword [ebp - 0x60], 0xf
cmova eax, dword [ebp - 0x74]
mov byte [eax + edi], cl
inc edi
cmp edi, 8
jb 0x4200ce
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push eax
call fcn.00468b54
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.0042a7b0
call fcn.0046ac10
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x41ffa5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret