Function at 0x4a8980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea edx, [ebp - 0x7c]
lea eax, [ebp - 8]
sub esp, 0xc0
mov dword [ebp - 0x90], ecx
mov dword [esp], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], 0x567468
mov dword [ebp - 0x60], 0x5c1f2c
mov dword [ebp - 0x58], 0x4a8dff
mov dword [ebp - 0x54], esp
call fcn.00567748
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4a8e18
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
mov ebx, dword [ebx + 4]
mov edx, dword [eax - 0xc]
mov dword [esp], eax
mov ecx, ebx
mov dword [ebp - 0x78], 3
add ecx, 4
mov dword [esp + 4], edx
call fcn.00584290
sub esp, 8
mov dword [ebp - 0x28], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x78], 0xc
call fcn.0049b590
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov dword [esp], eax
call fcn.005769c0
mov ebx, dword [ebp + 8]
sub esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xa4], edx
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x78], 0xa
call eax
mov dword [esp], 1
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x78], 0xd
call fcn.0049b590
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x18]
mov dword [esp], eax
call fcn.005769c0
mov eax, dword [ebp + 0xc]
sub esp, 4
test eax, eax
je 0x4a8cf0
mov dword [ebp - 0x94], 1
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x78], 0xb
call eax
mov ebx, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebx + 4]
cmovbe eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0xc]
mov dword [ebp - 0xb0], 0xffffffff
mov eax, dword [ebp + 8]
sub esp, 8
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xb0]
lea ebx, [ebp - 0x41]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0xac]
and ecx, 3
shl ecx, 3
shr eax, cl
mov ecx, edx
mov byte [ebp - 0x41], al
mov eax, dword [edx]
mov dword [esp + 4], 1
mov dword [esp], ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x78], 0xb
call eax
sub dword [ebp - 0xb0], 1
sub esp, 8
cmp dword [ebp - 0xb0], 0xfffffffb
jne 0x4a8aff
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x10]
sub esp, 4
cmp dword [ebp - 0xa8], 7
mov eax, dword [ebp - 0x18]
jbe 0x4a8daf
mov edx, dword [ebp - 0xa8]
sub edx, 8
shr edx, 3
lea ecx, [edx*8 + 8]
mov edx, dword [ebp - 0xa4]
lea esi, [eax + ecx]
lea esi, [esi]
mov ebx, dword [eax]
xor dword [edx], ebx
mov ebx, dword [eax + 4]
add eax, 8
xor dword [edx + 4], ebx
add edx, 8
cmp eax, esi
jne 0x4a8b90
mov esi, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
and esi, 7
test esi, esi
je 0x4a8bce
xor edx, edx
lea esi, [esi]
movzx ebx, byte [eax + edx]
xor byte [ecx + edx], bl
add edx, 1
cmp edx, esi
jne 0x4a8bc0
cmp dword [ebp + 0x1c], 1
je 0x4a8cd4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], 1
mov edx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xa8]
sub eax, 8
shr eax, 3
lea eax, [eax*8 + 8]
and ebx, 7
add edx, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], ebx
nop
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [esp], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x78], 0xb
call eax
mov edx, dword [ebp + 8]
sub esp, 8
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x10]
sub esp, 4
cmp dword [ebp - 0xa8], 7
mov eax, dword [ebp - 0x18]
jbe 0x4a8d9e
mov ebx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
add ebx, eax
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [eax]
xor dword [edx], ecx
mov ecx, dword [eax + 4]
add eax, 8
xor dword [edx + 4], ecx
add edx, 8
cmp eax, ebx
jne 0x4a8c80
mov ebx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
test ebx, ebx
je 0x4a8cbe
xor edx, edx
mov esi, ebx
nop
lea esi, [esi]
movzx ebx, byte [eax + edx]
xor byte [ecx + edx], bl
add edx, 1
cmp edx, esi
jne 0x4a8cb0
add dword [ebp - 0xac], 1
mov eax, dword [ebp - 0xac]
cmp dword [ebp + 0x1c], eax
jne 0x4a8c20
mov edx, dword [ebp - 0xa8]
add dword [ebp - 0x94], 1
add dword [ebp - 0xa4], edx
sub dword [ebp + 0xc], edx
jne 0x4a8aae
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [esp], 1
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], 0xf
call fcn.0049b590
mov edx, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
mov ecx, edx
mov dword [esp], 0
call fcn.005769c0
mov ecx, dword [ebp - 0x90]
sub esp, 4
mov dword [ebp - 0x78], 0xe
lea ebx, [ebp - 0x28]
mov dword [esp], ebx
call fcn.00577e00
mov ecx, dword [ebp - 0xc]
sub esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x4a8d73
test edx, edx
jne 0x4a8dde
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
test ecx, ecx
je 0x4a8d84
test edx, edx
jne 0x4a8dc0
lea ebx, [ebp - 0x7c]
mov dword [esp], ebx
call fcn.00567750
mov eax, dword [ebp - 0x90]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x18
mov ebx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
jmp 0x4a8ca0
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
jmp 0x4a8bb3
test eax, eax
je 0x4a8d84
mov ebx, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x78], 0xffffffff
call eax
sub esp, 8
jmp 0x4a8d84
test eax, eax
je 0x4a8d73
mov ebx, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x78], 0xa
call eax
sub esp, 8
jmp 0x4a8d73
mov dword [esp], 8
lea ebx, [ebp - 0x34]
call fcn.00567530
mov dword [esp], str.PKCS5_PBKDF2:_Invalid_iteration_count
mov ecx, ebx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x42]
mov dword [esp + 4], eax
mov dword [ebp - 0x78], 1
call fcn.005674b8
mov ecx, dword [ebp - 0x8c]
sub esp, 8
mov dword [ebp - 0x78], 2
mov dword [esp], ebx
call fcn.00567538
sub esp, 4
mov ecx, ebx
call fcn.00567508
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], fcn.00567528
mov dword [esp + 4], 0x62e404
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], eax
call fcn.00567540
lea ecx, [ebp - 0x34]
call fcn.00567508
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.00567548
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], edx
call fcn.00567758
cmp eax, 1
je 0x4a8f2c
mov ebx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], ebx
call fcn.00567758
lea ecx, [ebp - 0x34]
call fcn.00567508
lea ecx, [ebp - 0x3c]
call fcn.00567508
lea ecx, [ebp - 0x40]
call fcn.00567508
lea ecx, [ebp - 0x38]
call fcn.00567508
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call fcn.00567548
lea ecx, [ebp - 0x30]
call fcn.005840e0
mov dword [ebp - 0x78], 0
call fcn.00567490
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], edx
call fcn.00567758
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.00567600
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x78], 0
mov dword [esp], eax
call fcn.00583e40
mov edx, dword [ebp - 0xb0]
sub esp, 4
mov dword [esp], edx
call fcn.00567488
mov dword [esp], 8
call fcn.00567530
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xc], 0
mov dword [ebp - 0x88], eax
mov eax, dword [ebx]
lea ebx, [ebp - 0x38]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [ebp - 0x78], 4
mov dword [esp + 4], edx
call fcn.0046a0e0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], 5
call eax
lea ebx, [ebp - 0x40]
sub esp, 4
mov dword [ebp - 0x78], 6
lea eax, [ebp - 0x3c]
mov dword [esp + 8], str._cannot_accept_passphrases_of_length
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.005bdf60
lea edx, [ebp - 0x34]
mov dword [ebp - 0x78], 7
lea ebx, [ebp - 0x38]
mov dword [esp], edx
lea eax, [ebp - 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [ebp - 0xb0], edx
call fcn.005be020
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 8
mov ecx, dword [ebp - 0x88]
mov dword [esp], edx
call fcn.00567578
mov ecx, dword [ebp - 0xb0]
sub esp, 4
call fcn.00567508
lea ecx, [ebp - 0x3c]
call fcn.00567508
lea ecx, [ebp - 0x40]
call fcn.00567508
mov ecx, ebx
call fcn.00567508
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], fcn.00567570
mov dword [esp + 4], 0x62e3f8
mov dword [ebp - 0x78], 9
mov dword [esp], eax
call fcn.00567540
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x78], 0
call fcn.00576b30
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x78], 0
call fcn.00577dd0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], 0
call fcn.00577dd0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], edx
call fcn.00567758
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], 0
call fcn.00576b30
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x78], 0xffffffff
mov dword [esp], eax
call fcn.00567758
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x78], 0
call fcn.00576b30
jmp 0x4a9081