Function at 0x529a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c62b
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.004dc9ee
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 0x529c3c
cmp dword [ebp - 0x1c], 0
je 0x529ae2
mov dword [ebp - 0x24], 0x61ea08
mov dword [ebp - 0x20], 4
mov byte [ebp - 4], 3
call fcn.00423e60
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 0x529c3c
cmp dword [ebp - 0x20], 0
jne 0x529c35
push 1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.004dca4c
test eax, eax
jne 0x529c35
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.004db9a9
push dword [ebp - 0x14]
mov ecx, edi
call fcn.004db9a9
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov dword [ebp - 0x14], eax
cmp eax, 0x80
ja 0x529c41
push eax
mov ecx, ebx
call fcn.004db9a9
cmp dword [ebp - 0x14], 0
jbe 0x529b6f
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 0x529b44
mov esi, dword [ebp - 0x28]
lea edi, [esi + 0x4c]
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 0x80
jbe 0x529b86
push str.Requested_initialization_vector_is_too_big
jmp 0x529c46
push ebx
mov ecx, edi
call fcn.004db9a9
test ebx, ebx
je 0x529bc9
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 0x529ba1
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.004dce11
test eax, eax
jne 0x529c17
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004dce65
test eax, eax
jne 0x529c17
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x40]
sub eax, ebx
cmp dword [ebp - 0x14], eax
jne 0x529c17
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
cmp dword [ebp - 0x18], ecx
jne 0x529c17
push edx
push ebx
mov ecx, esi
call fcn.004dcf4f
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.00553cca
mov esp, ebp
pop ebp
ret
push str.Failed_to_initialize_McCryptoLib
jmp 0x529c46
call fcn.00560159
push str.Requested_key_is_too_big
lea ecx, [ebp - 0x24]
call fcn.0042da80
push 0x608b3c
lea eax, [ebp - 0x24]
push eax
call fcn.00555b8c
int3