Function at 0x5e3780c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 0x10
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x158]
mov esi, str.A_remote_procedure_call_is_already_in_progress_for_this_thread.
push ebx
sub esp, 0x18c
mov eax, dword [0x5e57d9c]
mov dword [ebp - 0x174], 0x61d4aae1
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x170], 0x26e0554c
or eax, 0x9484570c
sub eax, 0x55f6c0fa
mov dword [0x5e57d9c], eax
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x5e37854
xor eax, eax
cmp byte [eax + str.ftyphevc], 0
je 0x5e3788a
inc eax
cmp eax, 0x1e3d
jne 0x5e37865
call fcn.05e43548
imul eax, dword [0x5e57d9c], 0x7ede1b9
mov dword [0x5e57d9c], eax
mov eax, dword [0x5e57d9c]
xor edi, edi
mov esi, 0x3f
sub eax, 0x6625f878
and eax, 0xb8707ef4
mov dword [0x5e57d9c], eax
call fcn.05e41048
xor ecx, ecx
sub dword [0x5e57d9c], 0x465e578e
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div esi
movzx eax, byte [ebp + edx - 0x158]
movzx edx, bl
add eax, edx
add eax, edi
movzx edi, al
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + ecx - 0x118], al
inc ecx
mov byte [ebp + edi - 0x118], bl
cmp ecx, 0x100
jne 0x5e378b6
xor edi, edi
xor esi, esi
xor ebx, ebx
inc ebx
mov edx, dword [0x5e57d9c]
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
and edx, 0x98873b80
xor edx, 0x2ee82517
imul edx, edx, 0x56c9d024
lea ecx, [eax + esi]
movzx esi, cl
mov cl, byte [ebp + esi - 0x118]
mov dword [0x5e57d9c], edx
mov byte [ebp + ebx - 0x118], cl
mov byte [ebp + esi - 0x118], al
add al, byte [ebp + ebx - 0x118]
movzx eax, al
mov al, byte [ebp + eax - 0x118]
mov byte [ebp - 0x179], al
xor eax, eax
cmp word [eax + str.SdbpGetCustomSdbFileName], 0
je 0x5e37979
add eax, 2
cmp eax, 0x30b8
jne 0x5e37956
call fcn.05e4089c
or dword [0x5e57d9c], 0x467bed03
mov eax, dword [0x5e57d9c]
sub eax, 0x1ba2e995
and eax, 0x7fda13f
mov dword [0x5e57d9c], eax
call fcn.05e41c54
mov al, byte [ebp - 0x179]
xor al, byte [ebp + edi - 0x174]
mov byte [ebp + edi - 0x16c], al
inc edi
or dword [0x5e57d9c], 0x139b4d3
cmp edi, 8
jne 0x5e378f9
mov dword [ebp - 0x164], 0x2d
xor ebx, ebx
mov esi, 0x60
mov dword [ebp - 0x160], 0x61
mov dword [ebp - 0x15c], 0xffffffca
add dword [0x5e57d9c], 0x5f45e72f
call fcn.05e427ac
sub esi, dword [ebp + ebx*4 - 0x164]
inc ebx
lea edx, [ebp - 0x16c]
cmp ebx, 3
jne 0x5e379df
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], 0x116c
mov dword [esp], str.r5Fwncj5nuldWWZQozCaywVdECbRKokBFbpwi4gUMjUQXqOxMooK9XSzbtgjWiqeC_fp5G9b_vZFlTeQeqLE323knkillA9_3XlmwIzLW7AU3DvnTMnbW3Q9mFnfkgUYIyizNMOQ9UNAzXWp1wDKVTLwnYwE0_MsFgZ8XnjGbqdlsDAvpjFCVRVFGVmwCCj6cENFY26oTG2uj9QPlT6ap4xKgf8E8uSO12dBmOHn9_e10KYvQFgFChm5pHQmDMpG218JsjEhwtw23Aq7a3I0eu4wvwWqcEG0cU2nOpx8N00AuoJ59pWw98fBWniHcux2iUmP62JWNehAOR1eTH83vjQC26YEyqRErpQihpMcuzAUCK28wa_RixZxrVJxvBXCdvtEJx13UE8bzhGNpUHUfeKVTdj6F7KxCsosxecVL1zXcDTH2XGaMIG3DSGKzNBHnXJ0vL40PdOGBB117Rk2y4LXhvnJFE8gJZ1CT1dcrWEDxraf_yGlZAQVdwGA3y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