Function at 0x44f9f0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b4
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 8], eax
mov byte [edi + 4], 1
test eax, eax
je 0x44fc32
test ebx, ebx
jne 0x44fa47
lea ecx, [edi + 0x24]
call fcn.004507a0
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
movzx eax, word [esi]
lea ebx, [esp + 0x5c]
cmp eax, 8
mov dword [esp + 0x30], eax
lea edx, [esp + 0x90]
movzx ecx, ax
cmove ebx, edx
jne 0x44fb3d
cmp ecx, 8
lea edx, [esp + 0x94]
push 0x424
lea eax, [esp + 0x64]
cmove eax, edx
push 0
push eax
call fcn.00474160
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 [esp + 0x18], edi
mov edi, eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x24], eax
mov eax, edx
mov byte [esp + 0x13], 0
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x13]
mov dword [ebx], 0x28
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0x100
mov ecx, dword [esp + 0x18]
xor edx, edx
movzx esi, al
mov eax, esi
shr eax, cl
and eax, edi
mov ecx, dword [esp + 0x1c]
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 [esp + 0x20]
imul eax, eax, 0xff
mov ecx, dword [esp + 0x24]
div dword [esp + 0x20]
xor edx, edx
mov byte [ebx + esi*4 + 0x29], al
mov eax, esi
shr eax, cl
and eax, dword [esp + 0x28]
imul eax, eax, 0xff
div dword [esp + 0x28]
mov byte [ebx + esi*4 + 0x28], al
mov al, byte [esp + 0x13]
inc al
sub dword [esp + 0x14], 1
mov byte [esp + 0x13], al
jne 0x44fad0
mov edi, dword [esp + 0x2c]
jmp 0x44fbbb
cmp ecx, 8
lea edx, [esp + 0xa4]
lea eax, [esp + 0x70]
cmove eax, edx
lea edx, [esp + 0xac]
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x78]
cmove eax, edx
lea edx, [esp + 0xb4]
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x80]
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 [esp + 0x34]
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
je 0x44fc4f
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
je 0x44fc6c
push eax
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4bc]
mov dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471b05
mov esp, ebp
pop ebp
ret 0xc
push str.Cant_get_DC_to_create_a_DIB_section
lea ecx, [esp + 0x38]
call fcn.00450030
push 0x4ca318
lea eax, [esp + 0x38]
push eax
call fcn.004735ed
push str.Cant_create_a_compatible_DC_to_open_a_dib_section
lea ecx, [esp + 0x38]
call fcn.00450030
push 0x4ca318
lea eax, [esp + 0x38]
push eax
call fcn.004735ed
push str.Cant_create_a_dib_section
lea ecx, [esp + 0x38]
call fcn.00450030
push 0x4ca318
lea eax, [esp + 0x38]
push eax
call fcn.004735ed
int3