Function at 0x4628a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x4bf454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push ebx
mov dword [ebp - 0x480], edi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 8], eax
mov byte [edi + 4], 1
test eax, eax
je 0x462b18
test ebx, ebx
jne 0x462907
lea ecx, [edi + 0x24]
call fcn.004633b0
lea eax, [ebp - 0x498]
push eax
lea ecx, [edi + 0x24]
call fcn.00463380
mov eax, dword [ebp - 0x494]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x490]
mov dword [edi + 0x1c], eax
movzx eax, word [esi]
lea ebx, [ebp - 0x38]
cmp eax, 8
mov dword [ebp - 0x484], eax
lea edx, [ebp - 0x460]
movzx ecx, ax
cmove ebx, edx
jne 0x462a20
cmp ecx, 8
lea edx, [ebp - 0x45c]
push 0x424
lea eax, [ebp - 0x34]
cmove eax, edx
push 0
push eax
call fcn.00466b10
movzx edi, byte [esi + 0xa]
add esp, 0xc
movzx eax, word [esi + 4]
movzx edx, word [esi + 8]
movzx ecx, word [esi + 6]
mov dword [ebp - 0x46c], edi
mov edi, eax
movzx eax, byte [esi + 0xc]
mov dword [ebp - 0x470], eax
movzx eax, byte [esi + 0xe]
mov dword [ebp - 0x478], eax
mov eax, edx
mov byte [ebp - 0x461], 0
mov dword [ebp - 0x47c], eax
mov al, byte [ebp - 0x461]
mov dword [ebx], 0x28
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x468], 0x100
nop
mov ecx, dword [ebp - 0x46c]
xor edx, edx
movzx esi, al
mov eax, esi
shr eax, cl
and eax, edi
mov ecx, dword [ebp - 0x470]
imul eax, eax, 0xff
div edi
xor edx, edx
mov byte [ebx + esi*4 + 0x2a], al
mov eax, esi
shr eax, cl
and eax, dword [ebp - 0x474]
imul eax, eax, 0xff
mov ecx, dword [ebp - 0x478]
div dword [ebp - 0x474]
xor edx, edx
mov byte [ebx + esi*4 + 0x29], al
mov eax, esi
shr eax, cl
and eax, dword [ebp - 0x47c]
imul eax, eax, 0xff
div dword [ebp - 0x47c]
mov byte [ebx + esi*4 + 0x28], al
mov al, byte [ebp - 0x461]
inc al
sub dword [ebp - 0x468], 1
mov byte [ebp - 0x461], al
jne 0x4629a0
mov edi, dword [ebp - 0x480]
jmp 0x462a95
cmp ecx, 8
lea edx, [ebp - 0x44c]
lea eax, [ebp - 0x24]
cmove eax, edx
lea edx, [ebp - 0x444]
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [ebp - 0x1c]
cmove eax, edx
lea edx, [ebp - 0x43c]
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [ebp - 0x14]
cmove eax, edx
mov dword [eax], 0
movzx ecx, byte [esi + 0xa]
movzx eax, word [esi + 4]
shl eax, cl
movzx ecx, byte [esi + 0xc]
mov dword [ebx + 0x28], eax
movzx eax, word [esi + 6]
shl eax, cl
movzx ecx, byte [esi + 0xe]
mov dword [ebx + 0x2c], eax
movzx eax, word [esi + 8]
shl eax, cl
mov dword [ebx + 0x10], 3
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp + 0xc]
mov eax, 1
push dword [edi + 8]
mov word [ebx + 0xc], ax
mov eax, dword [ebp - 0x484]
mov word [ebx + 0xe], ax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
neg eax
mov dword [ebx], 0x28
mov dword [ebx + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, eax
mov dword [edi + 0xc], ecx
test ecx, ecx
jne 0x462ad8
push str.Cant_create_a_compatible_DC_to_open_a_dib_section
jmp 0x462b1d
push 0
push 0
lea eax, [edi + 0x20]
push eax
push 0
push ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x462af8
push str.Cant_create_a_dib_section
jmp 0x462b1d
push eax
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x10], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00464d5e
mov esp, ebp
pop ebp
ret 0xc
push str.Cant_get_DC_to_create_a_DIB_section
lea ecx, [ebp - 0x4ac]
call fcn.00462e80
push 0x4bbd64
lea eax, [ebp - 0x4ac]
push eax
call fcn.00466a95
int3