Function at 0x4346e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x114
mov esi, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
mov dword [eax], 0
mov dword [esi], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
sete cl
test al, 3
setne dl
mov edi, 0x3d
or dl, cl
jne 0x4349e2
movzx ecx, byte [ebx + eax - 1]
mov dword [esp + 0xc], 0
mov ebp, 0
cmp cl, 0x3d
mov edx, eax
jne 0x434774
mov eax, ecx
cmp byte [ebx + edx - 2], 0x3d
jne 0x434767
cmp byte [ebx + edx - 3], 0x3d
je 0x4349e2
mov ebp, 2
mov dword [esp + 0xc], 0
jmp 0x434772
mov ebp, 1
mov cl, 1
mov dword [esp + 0xc], ecx
mov ecx, eax
mov edi, esi
mov byte [esp + 3], cl
cmp cl, 0x3d
sete byte [esp + 4]
shr edx, 2
lea eax, [edx + edx*2]
sub eax, ebp
mov dword [esp + 0x10], eax
inc eax
push str.base64.c
push 0x72
push eax
mov esi, edx
call fcn.00404730
add esp, 0xc
test eax, eax
je 0x43492e
mov dword [esp + 8], ebp
xor ecx, ecx
movzx edx, byte [esp + 4]
mov cl, dl
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x54], xmm0
movdqu xmmword [esp + 0x64], xmm0
movdqu xmmword [esp + 0x74], xmm0
movdqu xmmword [esp + 0x84], xmm0
movdqu xmmword [esp + 0x104], xmm0
movdqu xmmword [esp + 0xf4], xmm0
movdqu xmmword [esp + 0xe4], xmm0
movdqu xmmword [esp + 0xd4], xmm0
movdqu xmmword [esp + 0xc4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0x94], xmm0
movdqu xmmword [esp + 0x24], xmm0
movdqu xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [0xa1fab6]
movups xmmword [esp + 0x3f], xmm0
movups xmm0, xmmword [0xa1fac6]
movups xmmword [esp + 0x4f], xmm0
movups xmm0, xmmword [0xa1fad6]
movups xmmword [esp + 0x5f], xmm0
movups xmm0, xmmword [0xa1fae6]
movups xmmword [esp + 0x6f], xmm0
movups xmm0, xmmword [0xa1faf6]
movups xmmword [esp + 0x7f], xmm0
sub esi, ecx
je 0x434938
mov dword [esp + 4], eax
mov ebp, eax
nop
movzx eax, byte [ebx]
movzx ecx, byte [esp + eax + 0x14]
cmp ecx, 0xff
je 0x4349c7
mov edi, ebx
movzx eax, byte [ebx + 1]
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x4349c7
movzx edx, byte [edi + 2]
movzx ebx, byte [esp + edx + 0x14]
cmp ebx, 0xff
je 0x4349c7
movzx edx, byte [edi + 3]
movzx edx, byte [esp + edx + 0x14]
cmp dl, 0xff
je 0x4349c7
shl ecx, 0xc
shl eax, 6
or ecx, eax
or eax, ebx
shl bl, 6
or dl, bl
mov byte [ebp + 2], dl
shr eax, 2
mov byte [ebp + 1], al
shr ecx, 0xa
mov byte [ebp], cl
add ebp, 3
lea ebx, [edi + 4]
dec esi
jne 0x434880
add edi, 4
mov ebx, edi
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 3]
cmp cl, 0x3d
je 0x434944
mov edx, eax
mov ecx, dword [esp + 0x10]
mov byte [ebp], 0
mov eax, dword [esp + 0x12c]
mov dword [eax], edx
mov dword [edi], ecx
xor edi, edi
jmp 0x4349e2
mov edi, 0x1b
jmp 0x4349e2
mov ebp, eax
movzx ecx, byte [esp + 3]
cmp cl, 0x3d
jne 0x434912
mov dword [esp + 4], eax
movzx eax, byte [ebx]
cmp eax, 0x3d
jne 0x434969
xor edx, edx
mov ecx, 1
movzx eax, byte [ebx + 1]
cmp eax, 0x3d
jne 0x434984
cmp ecx, dword [esp + 8]
jae 0x4349c7
inc ecx
jmp 0x434992
movzx edx, byte [esp + eax + 0x14]
cmp edx, 0xff
je 0x4349c7
shl edx, 6
xor ecx, ecx
movzx eax, byte [ebx + 1]
cmp eax, 0x3d
je 0x434960
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x4349c7
or edx, eax
movzx eax, byte [ebx + 2]
cmp eax, 0x3d
jne 0x4349a7
cmp ecx, dword [esp + 8]
jae 0x4349c7
shl edx, 6
inc ecx
jmp 0x4349b8
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x4349c7
shl edx, 6
or edx, eax
movzx eax, byte [ebx + 3]
cmp eax, 0x3d
jne 0x4349ef
cmp ecx, dword [esp + 8]
jb 0x4349f6
push str.base64.c
push 0xb8
push dword [esp + 0xc]
call fcn.00404af0
add esp, 0xc
mov edi, 0x3d
mov eax, edi
add esp, 0x114
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + eax + 0x14], 0xff
je 0x4349c7
cmp byte [esp + 0xc], 0
je 0x434a05
mov eax, edx
shr eax, 2
mov byte [ebp + 1], al
shr edx, 0xa
mov byte [ebp], dl
mov eax, dword [esp + 8]
xor eax, 3
add ebp, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jmp 0x434918