Function at 0x529ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cafb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
call fcn.004dcb1e
lea ebx, [esi + 0x40]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea edi, [esi + 0x4c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 0
push 0x61ea08
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x529d1c
cmp dword [ebp - 0x1c], 0
je 0x529bc2
mov dword [ebp - 0x24], 0x61ea08
mov dword [ebp - 0x20], 4
mov byte [ebp - 4], 3
call fcn.00423ee0
push 0
push 0
push 0x61ea08
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x529d1c
cmp dword [ebp - 0x20], 0
jne 0x529d15
push 1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.004dcb7c
test eax, eax
jne 0x529d15
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.004dbad9
push dword [ebp - 0x14]
mov ecx, edi
call fcn.004dbad9
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov dword [ebp - 0x14], eax
cmp eax, 0x80
ja 0x529d21
push eax
mov ecx, ebx
call fcn.004dbad9
cmp dword [ebp - 0x14], 0
jbe 0x529c4f
mov esi, dword [ebp - 0x14]
mov eax, 6
sub eax, 0x5ac7f8
xor edi, edi
mov dword [ebp - 0x20], eax
lea eax, [eax + 0x5ac7f8]
xor edx, edx
add eax, edi
div esi
mov eax, dword [ebx]
mov cl, byte [edx + 0x5ac7f8]
xor cl, byte [edi + 0x5ac7f8]
mov byte [edi + eax], cl
inc edi
mov eax, dword [ebp - 0x20]
cmp edi, esi
jb 0x529c24
mov esi, dword [ebp - 0x28]
lea edi, [esi + 0x4c]
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 0x80
jbe 0x529c66
push str.Requested_initialization_vector_is_too_big
jmp 0x529d26
push ebx
mov ecx, edi
call fcn.004dbad9
test ebx, ebx
je 0x529ca9
mov eax, 0x63
sub eax, 0x5ac898
xor esi, esi
mov dword [ebp - 0x20], eax
lea eax, [eax + 0x5ac898]
xor edx, edx
add eax, esi
div ebx
mov eax, dword [edi]
mov cl, byte [edx + 0x5ac898]
xor cl, byte [esi + 0x5ac898]
mov byte [esi + eax], cl
inc esi
mov eax, dword [ebp - 0x20]
cmp esi, ebx
jb 0x529c81
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0
call fcn.004dcf41
test eax, eax
jne 0x529cf7
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004dcf95
test eax, eax
jne 0x529cf7
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x40]
sub eax, ebx
cmp dword [ebp - 0x14], eax
jne 0x529cf7
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
cmp dword [ebp - 0x18], ecx
jne 0x529cf7
push edx
push ebx
mov ecx, esi
call fcn.004dd07f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553daa
mov esp, ebp
pop ebp
ret
push str.Failed_to_initialize_McCryptoLib
jmp 0x529d26
call fcn.0056024d
push str.Requested_key_is_too_big
lea ecx, [ebp - 0x24]
call fcn.0042db10
push 0x608f84
lea eax, [ebp - 0x24]
push eax
call fcn.00555c6c
int3