Function at 0x46a310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53273d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x584200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0xc]
call fcn.004393f0
mov edi, dword [ebp + 0x34]
mov ecx, esi
mov eax, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x28]
push edi
push eax
push dword [ebp + 0x2c]
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0xc]
call fcn.0046aab0
mov esi, dword [ebp + 0x30]
mov eax, ebx
imul eax, esi
mov dword [ebp - 0x58], 0xffffffff
shl eax, 7
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x54], eax
test eax, eax
je 0x46a389
push eax
call fcn.00439f20
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x50], eax
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00435f50
mov dword [ebp - 0x14], vtable.CryptoPP::PKCS5_PBKDF2_HMAC_class_CryptoPP::SHA256_.0
sub esp, 8
mov byte [ebp - 4], 1
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
movsd qword [esp], xmm0
push 1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
call fcn.00469d20
mov eax, esi
mov byte [ebp - 4], 0
cdq
cmp esi, eax
jne 0x46a3ff
cmp edi, edx
jne 0x46a3ff
test edi, edi
jne 0x46a3ef
test esi, esi
jne 0x46a3ef
xor ecx, ecx
jmp 0x46a3f4
mov ecx, 1
xor eax, eax
test esi, esi
setg al
cmp ecx, eax
je 0x46a409
mov edi, 0x7fffffff
mov dword [ebp - 0x18], edi
jmp 0x46a40c
mov edi, dword [ebp + 0x30]
mov eax, ebx
mov dword [ebp - 0x68], 0xffffffff
shl eax, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x46a426
xor ebx, ebx
jmp 0x46a431
push eax
call fcn.00439f20
add esp, 4
mov ebx, eax
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x28]
mov ecx, eax
mov esi, dword [ebp + 0x20]
imul ecx, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], 0xffffffff
shl ecx, 7
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x74], ecx
test ecx, ecx
jne 0x46a45b
xor edx, edx
jmp 0x46a469
push ecx
call fcn.00439f20
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x1c], edx
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 3
test edi, edi
jle 0x46a5ea
mov edx, dword [ebp - 0x10]
mov edi, eax
neg eax
shl edi, 7
shl eax, 7
mov ecx, edx
mov dword [ebp - 0x3c], eax
sub ecx, ebx
mov eax, ebx
mov dword [ebp - 0x28], edi
sub eax, edx
mov dword [ebp + 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x34], eax
nop
test edi, edi
je 0x46a4c1
mov edx, edi
mov ecx, ebx
mov edi, dword [ebp - 0x14]
nop dword [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x46a4b0
mov edi, dword [ebp - 0x28]
cmp dword [ebp + 0x24], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
jb 0x46a5ae
ja 0x46a4dd
test esi, esi
je 0x46a5ae
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
xor edx, edx
test edi, edi
je 0x46a506
mov ecx, esi
imul ecx, dword [ebp + 0x28]
shl ecx, 7
add ecx, dword [ebp + 0x1c]
mov al, byte [ebx + edx]
lea ecx, [ecx + 1]
inc edx
mov byte [ecx - 1], al
cmp edx, edi
jb 0x46a4f8
push dword [ebp + 0x28]
lea eax, [edi + ebx]
push eax
push ebx
call fcn.00469b80
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp + 0x24]
add esi, 1
adc eax, 0
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jb 0x46a4e6
mov eax, dword [ebp + 0x20]
ja 0x46a532
cmp esi, eax
jb 0x46a4e6
add eax, 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
nop dword [eax]
push dword [ebp + 0x28]
push ebx
call fcn.0046a890
mov esi, eax
add esp, 8
and esi, dword [ebp - 0x30]
xor ecx, ecx
test edi, edi
je 0x46a57e
imul esi, dword [ebp + 0x28]
shl esi, 7
add esi, dword [ebp + 0x1c]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, edi
jb 0x46a571
push dword [ebp + 0x28]
lea eax, [edi + ebx]
push eax
push ebx
call fcn.00469b80
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x1c], eax
adc ecx, 0
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp + 0x24]
jb 0x46a550
mov esi, dword [ebp + 0x20]
ja 0x46a5ae
cmp eax, esi
jb 0x46a550
test edi, edi
je 0x46a5d1
mov ecx, dword [ebp + 0x18]
mov edx, edi
mov edi, dword [ebp + 0x34]
nop word [eax + eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x46a5c0
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
add dword [ebp + 0x18], edi
add dword [ebp + 0x34], eax
add dword [ebp - 0x14], edi
sub dword [ebp - 0x18], 1
jne 0x46a4a0
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 4], 4
test edx, edx
je 0x46a604
mov ecx, dword [ebp - 0x40]
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.00439f80
add esp, 4
mov byte [ebp - 4], 5
test ebx, ebx
je 0x46a61e
mov ecx, dword [ebp - 0x44]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.00439f80
add esp, 4
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.00435f50
mov dword [ebp + 0x1c], vtable.CryptoPP::PKCS5_PBKDF2_HMAC_class_CryptoPP::SHA256_.0
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
mov ebx, dword [ebp - 0x10]
sub esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 6
movsd qword [esp], xmm0
push 1
push esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00469d20
mov dword [ebp - 4], 7
test ebx, ebx
je 0x46a67e
xor al, al
mov edi, ebx
mov ecx, esi
rep stosb byte es:[edi], al
push ebx
call fcn.00439f80
add esp, 4
mov eax, 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 0x30