Function at 0x4fb490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9b41
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
push str.Pbkdf2_bin
push eax
lea ecx, [ebp - 0xac]
call fcn.0045a1b0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
call fcn.0041b6b0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047b810
push eax
mov dword [ebp - 0x20], eax
call fcn.0047c2e0
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 0x4fb710
lea esp, [esp]
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004078c0
mov ecx, edi
mov esi, eax
call fcn.0041b6d0
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.004078c0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
call fcn.0041b6d0
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.0041b9a0
push esi
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.0041ca10
push 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xa0]
call fcn.0041ca10
lea ecx, [ebp - 0x84]
call fcn.0041b9a0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0041b9a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0041b9a0
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.004078c0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041b6d0
push eax
call fcn.004b65d0
add esp, 0x1c
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x68]
call fcn.0041e780
lea ecx, [ebp - 0x4c]
call fcn.004078c0
mov esi, eax
mov eax, dword [ebp + 0x18]
cmp esi, eax
jbe 0x4fb60d
mov esi, eax
lea ecx, [ebp - 0x4c]
call fcn.0041b6d0
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x4fb6ca
mov eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x14], eax
jbe 0x4fb6be
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.004078c0
push eax
lea ecx, [ebp - 0x68]
call fcn.0041b6d0
push eax
call fcn.004b65d0
add esp, 0x1c
lea ecx, [ebp - 0x84]
call fcn.0041b6d0
test eax, eax
je 0x4fb6ca
test esi, esi
je 0x4fb68c
mov ecx, edi
sub eax, edi
mov edi, esi
lea ecx, [ecx]
mov dl, byte [eax + ecx]
xor byte [ecx], dl
inc ecx
dec edi
jne 0x4fb680
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.0041b6b0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x68]
call fcn.0041e780
lea ecx, [ebp - 0x84]
call fcn.0041b6b0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp + 0x14]
jb 0x4fb633
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0041e780
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.0041c170
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0041c170
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0041c170
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.0041c170
inc ebx
cmp ebx, dword [ebp - 0x28]
jle 0x4fb520
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4fb71f
sub ecx, edx
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0041b900
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
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