Function at 0x42bc80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2828
call fcn.00440220
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xa00
xor eax, eax
lea edi, [esp + 0x34]
mov esi, dword [esp + 0x2838]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x283c]
lea edi, [esp + 0x34]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x42bccd
dec ecx
or ecx, 0xfffffff8
inc ecx
je 0x42bcd4
sub eax, ecx
add eax, 8
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x2844]
cdq
and edx, 7
mov dword [esp + 0x10], ecx
add eax, edx
xor dl, dl
mov esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
push 0x4b312c
mov ecx, edi
mov byte [esp + 0x30], dl
sar esi, 3
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], dl
call fcn.00464e3d
mov al, byte [ebp + 4]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push 2
push 1
push 0
call sub.security.dll_unsigned_char___cdecl_PP_Out_Crypt_Data_unsigned_char__unsigned_char__unsigned_char__unsigned_char___unsigned_char___unsigned_char_
add esp, 0x18
and eax, 0xff
je 0x42bd73
push eax
push str.Create_MAC_Error_ire__d_.
push edi
call fcn.004625d5
mov al, byte [ebp + 4]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push 2
push 1
push 0
call sub.security.dll_unsigned_char___cdecl_PP_Out_Crypt_Data_unsigned_char__unsigned_char__unsigned_char__unsigned_char___unsigned_char___unsigned_char_
add esp, 0x24
test al, al
je 0x42bd73
push str.Create_MAC1_Error.
mov ecx, edi
call fcn.00465090
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dl, byte [esp + 0x3c]
mov eax, edi
cmp esi, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], dl
jle 0x42be5d
push ebx
mov ebx, dword [esp + 0x2848]
lea edi, [esp + 0x40]
dec esi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
xor eax, eax
mov dl, byte [esp + eax + 0x10]
mov cl, byte [esp + eax + 0x28]
xor cl, dl
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 8
jl 0x42bdbe
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov al, byte [ebp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 2
push 1
push 0
call sub.security.dll_unsigned_char___cdecl_PP_Out_Crypt_Data_unsigned_char__unsigned_char__unsigned_char__unsigned_char___unsigned_char___unsigned_char_
add esp, 0x18
test al, al
je 0x42be42
push str.Create_MAC2_Error.
mov ecx, ebx
call fcn.00465090
mov al, byte [ebp + 4]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 2
push 1
push 0
call sub.security.dll_unsigned_char___cdecl_PP_Out_Crypt_Data_unsigned_char__unsigned_char__unsigned_char__unsigned_char___unsigned_char___unsigned_char_
add esp, 0x18
test al, al
je 0x42be42
push str.Create_MAC3_Error.
mov ecx, ebx
call fcn.00465090
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add edi, 8
dec esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x42bdaf
pop ebx
mov edx, dword [esp + 0x2840]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
mov byte [edx + 8], 0
xor eax, eax
add esp, 0x2828
ret 0x10