Function at 0x488750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7400e1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
push str.Pbkdf2
push eax
lea ecx, [ebp - 0xac]
call fcn.00474ef0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
call fcn.0040fb90
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00488ac0
push eax
mov dword [ebp - 0x20], eax
call fcn.00488ef0
mov esi, dword [ebp + 0x18]
mov ecx, eax
lea eax, [ecx + esi - 1]
cdq
idiv ecx
mov ebx, 1
add esp, 8
mov dword [ebp - 0x2c], ecx
mov edi, eax
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edx
cmp edi, ebx
jl 0x4889c2
lea esp, [esp]
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004033b0
mov ecx, edi
mov esi, eax
call fcn.0040fbb0
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.004033b0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
call fcn.0040fbb0
mov dword [ebp - 0x18], eax
mov ecx, ebx
shr ecx, 8
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0xe], cl
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], al
mov byte [ebp - 0xd], bl
call fcn.0040fe80
push esi
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00411260
push 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00411260
lea ecx, [ebp - 0x84]
call fcn.0040fe80
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040fe80
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0040fe80
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.004033b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040fbb0
push eax
call fcn.004e9ba0
add esp, 0x18
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00412840
lea ecx, [ebp - 0x4c]
call fcn.004033b0
mov edi, eax
mov eax, dword [ebp + 0x18]
cmp edi, eax
jbe 0x4888c9
mov edi, eax
lea ecx, [ebp - 0x4c]
call fcn.0040fbb0
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x48897c
mov eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x14], eax
jbe 0x488970
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x84]
push edx
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.004033b0
push eax
lea ecx, [ebp - 0x68]
call fcn.0040fbb0
push eax
call fcn.004e9ba0
add esp, 0x18
lea ecx, [ebp - 0x84]
call fcn.0040fbb0
test eax, eax
je 0x48897c
test edi, edi
je 0x488942
mov ecx, esi
sub eax, esi
mov esi, edi
mov dl, byte [eax + ecx]
xor byte [ecx], dl
inc ecx
dec esi
jne 0x488936
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.0040fb90
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412840
lea ecx, [ebp - 0x84]
call fcn.0040fb90
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp + 0x14]
jb 0x4888f0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.00412840
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004105c0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004105c0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004105c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.004105c0
inc ebx
cmp ebx, dword [ebp - 0x28]
jle 0x4887e0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4889d1
sub ecx, edx
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0040fde0
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret