Function at 0x838220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ecx, 0xa
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x122]
mov esi, str.failureId
push ebx
sub esp, 0x14c
mov dword [ebp - 0x132], 0xedc41f0a
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x12e], 0xc5b9519b
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x838254
mov edi, dword [0x858e2c]
xor esi, esi
xor ecx, ecx
mov al, byte [ebp + ecx - 0x118]
mov ebx, 9
xor edx, edx
mov byte [ebp - 0x139], al
mov eax, ecx
div ebx
movzx eax, byte [ebp + edx - 0x122]
movzx edx, byte [ebp - 0x139]
add eax, edx
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ecx - 0x118], al
mov eax, edi
inc ecx
xor eax, 0x64df3cf6
add eax, 0x656077ce
or eax, 0x6b200955
mov edi, eax
mov al, byte [ebp - 0x139]
mov byte [ebp + esi - 0x118], al
cmp ecx, 0x100
jne 0x83826d
mov dword [0x858e2c], edi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
lea esi, [ebp - 0x12a]
inc edx
movzx edx, dl
mov al, byte [ebp + edx - 0x118]
add ecx, eax
mov byte [ebp - 0x139], al
movzx ecx, cl
mov al, byte [ebp + ecx - 0x118]
mov byte [ebp + edx - 0x118], al
mov al, byte [ebp - 0x139]
mov byte [ebp + ecx - 0x118], al
add al, byte [ebp + edx - 0x118]
movzx eax, al
mov al, byte [ebp + eax - 0x118]
xor al, byte [ebp + ebx - 0x132]
inc ebx
mov byte [ebx + esi - 1], al
cmp ebx, 8
jne 0x8382e4
mov byte [ebp - 0x122], 0
mov edx, str._tPackage_directories:__wZ
mov ecx, 0xcf9
movsx eax, byte [edx]
inc edx
test al, al
je 0x838366
add ecx, eax
cmp ecx, 0x1ef0
jbe 0x838348
mov eax, edi
xor eax, 0xa96cce88
mov dword [0x858e2c], eax
mov eax, dword [0x858e2c]
xor eax, 0x90549a8a
or eax, 0x5add7a1b
mov dword [0x858e2c], eax
call fcn.00843328
mov dword [esp + 8], esi
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x1154
mov dword [esp], str.mNHr6oNJ2irZNmU7EucR_OujDCvPK58Era2p1RshX99S83BRzuScZwYzQtLDvM_EmYi93yBq_NmDtQlhbf77p6KrbMCZrcT7gHPWzMI85QKlFAviCS1yqjh3eS3UiORrkBTcPDP_tJou1bCrGpyZuf5kx5UrdrYbkSuQPFJK37zUhgeonBVWpmhvCAxKcoZDBs_amCb0IV3HTexuovmBGiXtoBtqGuSbXKmzjVo_enWylMZPlNhVyqNlkA2FaxOEGaZZLiYghO5CUyCLDN_5Mk5JjAAzKKTk6oU0rB5aSSIbJex_LFkL0gysDG6DfDN3N5rA0NI7I_u8prU1X2MDA5euNKqbGqBy6_huBZwzAHE8Xr5mrr264yoSkyAMZnOq4JhtDT8TIZeQpIHVXw1iDfAMgHSsu49F69LJuZnMGfL7WN_9In2TK44JdpyjnKykA96VJbzraVnQ5U8FAG98DN3rr5CVZvMgIj843epx7tVk9Mu9_2xBR_IeLNSmSkG8VHMNi2SgHkvDamgnKcccZYpCe50bOletRPhiBGuLeFFdnZPDA0Nwu6DqJ9yWThR8DuhkRtl5OVAzZejdyE1x1n29UXYu6LYxGddJmc8U2F285vrJ0CzN3sdBNOSnTE_NFWOf2J_9ZuEnYjbn9hNy_ZjF0CbOiVdHdcQe0CSUyhrmELdoLpt1WMNdXE9ooi1QItsJ4QfRwrcI2uIhJBlZ5weekf1_7TT2nrU17OsATUI2N09UOTJ6srA14BfqCzRIlyoqngTCnU4pI5dePYq2fEIpGK_9BYu5C4sj_ZqORLZ2Z2d0yiNEfH1JePBU09n2I9ZNzjNXW3w7rP8wnlkS2sYLaWWDPNyispQkn7B66TgMslY4MYlyP09g2atJGG88XQUieLmwDlk1bgZTZDXNZ99jqOgulYEtaLw55W5fjkPYoxpY6JLN2gkCtCRrKEzjgEuCdLt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