Function at 0x401161
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b90
call fcn.00421d00
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1b84], eax
mov eax, dword [ebp + 0x10]
push 0x1370
mov dword [ebp - 0x1b8c], eax
xor edi, edi
lea eax, [ebp - 0x1374]
push edi
push eax
call fcn.00421c70
add esp, 0xc
push str.Delosperma_lavisiae_is_a_species_of_flowering_plant_in_the_family_Aizoaceae__native_to_South_Africa_Free_State_and_KwaZulu_Natal_and_Lesotho
lea eax, [ebp - 0x1374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
mov dword [ebp - 0x1b78], edi
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push ebx
mov dword [ebp + edi*4 - 0x1774], edi
call fcn.004196cf
pop ecx
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
movzx eax, byte [edx + ebx]
mov dword [ebp + edi*4 - 0x1b74], eax
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
inc edi
cmp edi, 0x100
jl 0x4011fb
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
xor edx, edx
mov ecx, dword [ebp + edx - 0x1b74]
lea eax, [ebp + edx - 0x1774]
mov edi, dword [eax]
add ecx, edi
add ecx, dword [ebp - 0x1b78]
and ecx, 0x800000ff
jns 0x401285
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x1b78], ecx
lea ecx, [ebp + ecx*4 - 0x1774]
mov ebx, dword [ecx]
add edx, 4
mov dword [eax], ebx
mov dword [ecx], edi
cmp edx, 0x400
jl 0x40125d
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push dword [ebp - 0x1b84]
call fcn.004196cf
inc eax
push eax
call fcn.00420fd0
pop ecx
mov ebx, eax
pop ecx
lea eax, [ebp - 0x1374]
xor edi, edi
push eax
mov dword [ebp - 0x1b90], ebx
mov dword [ebp - 0x1b78], edi
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push dword [ebp - 0x1b84]
and dword [ebp - 0x1b7c], edi
call fcn.004196cf
pop ecx
test eax, eax
jle 0x4013df
mov eax, dword [ebp - 0x1b84]
mov dword [ebp - 0x1b80], ebx
sub dword [ebp - 0x1b80], eax
mov dword [ebp - 0x1b88], eax
inc edi
and edi, 0x800000ff
jns 0x401340
dec edi
or edi, 0xffffff00
inc edi
mov edx, dword [ebp - 0x1b78]
lea eax, [ebp + edi*4 - 0x1774]
mov ecx, dword [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x401361
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x1b78], edx
lea edx, [ebp + edx*4 - 0x1774]
mov ebx, dword [edx]
mov dword [eax], ebx
mov dword [edx], ecx
mov eax, dword [eax]
add eax, ecx
and eax, 0x800000ff
jns 0x401386
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [ebp - 0x1b88]
mov cl, byte [edx]
movzx ebx, cl
lea eax, [ebp + eax*4 - 0x1774]
cmp dword [eax], ebx
jne 0x4013a7
mov eax, dword [ebp - 0x1b80]
mov byte [eax + edx], cl
jmp 0x4013b4
mov al, byte [eax]
xor al, cl
mov ecx, dword [ebp - 0x1b80]
mov byte [ecx + edx], al
inc dword [ebp - 0x1b7c]
push dword [ebp - 0x1b84]
inc edx
mov dword [ebp - 0x1b88], edx
call fcn.004196cf
pop ecx
cmp dword [ebp - 0x1b7c], eax
jl 0x40132f
mov ebx, dword [ebp - 0x1b90]
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
mov eax, dword [ebp - 0x1b7c]
mov ecx, dword [ebp - 4]
mov byte [ebx + eax], 0
mov eax, dword [ebp - 0x1b8c]
pop edi
pop esi
mov dword [eax], ebx
xor ecx, ebp
pop ebx
call fcn.00421cea
leave
ret