Function at 0x529a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ca7b
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.004dca8e
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 0x529c9c
cmp dword [ebp - 0x1c], 0
je 0x529b42
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 0x529c9c
cmp dword [ebp - 0x20], 0
jne 0x529c95
push 1
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.004dcaec
test eax, eax
jne 0x529c95
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.004dba49
push dword [ebp - 0x14]
mov ecx, edi
call fcn.004dba49
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov dword [ebp - 0x14], eax
cmp eax, 0x80
ja 0x529ca1
push eax
mov ecx, ebx
call fcn.004dba49
cmp dword [ebp - 0x14], 0
jbe 0x529bcf
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 0x529ba4
mov esi, dword [ebp - 0x28]
lea edi, [esi + 0x4c]
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 0x80
jbe 0x529be6
push str.Requested_initialization_vector_is_too_big
jmp 0x529ca6
push ebx
mov ecx, edi
call fcn.004dba49
test ebx, ebx
je 0x529c29
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 0x529c01
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.004dceb1
test eax, eax
jne 0x529c77
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004dcf05
test eax, eax
jne 0x529c77
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x40]
sub eax, ebx
cmp dword [ebp - 0x14], eax
jne 0x529c77
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
cmp dword [ebp - 0x18], ecx
jne 0x529c77
push edx
push ebx
mov ecx, esi
call fcn.004dcfef
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.00553d2a
mov esp, ebp
pop ebp
ret
push str.Failed_to_initialize_McCryptoLib
jmp 0x529ca6
call fcn.005601cd
push str.Requested_key_is_too_big
lea ecx, [ebp - 0x24]
call fcn.0042daa0
push 0x608f44
lea eax, [ebp - 0x24]
push eax
call fcn.00555bec
int3