Function at 0x42e33d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 8
push ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
call fcn.00442822
add esp, 0xc
test eax, eax
jne 0x42e620
push ebx
push fcn.0042d721
push ebx
push str.1.5.1
call fcn.00446c4a
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x42e620
push eax
call fcn.0044384b
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x42e620
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
add esi, eax
push 0x42e0b3
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x38], esi
call fcn.00446d81
push ebx
push dword [ebp - 4]
call fcn.00459018
add esp, 0x14
test eax, eax
je 0x42e3dc
cmp dword [ebp - 0x18], ebx
je 0x42e3d3
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00445970
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446e5e
add esp, 0x2c
cmp dword [ebp - 0x1c], 0x10
jne 0x42e417
push dword [ebp - 4]
call fcn.00446f0a
pop ecx
cmp dword [ebp - 0xc], 3
jne 0x42e426
push dword [ebp - 4]
call fcn.00446fd4
pop ecx
cmp dword [ebp - 0x1c], 8
jge 0x42e435
push dword [ebp - 4]
call fcn.00446fd4
pop ecx
push 0x10
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446dc5
add esp, 0xc
test eax, eax
je 0x42e452
push dword [ebp - 4]
call fcn.00446fd4
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x42e45d
cmp dword [ebp - 0xc], 4
jne 0x42e466
push dword [ebp - 4]
call fcn.00446ffc
pop ecx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446e34
add esp, 0xc
test eax, eax
je 0x42e49a
fld qword [ebp - 0x44]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x49bfa8]
fstp qword [esp]
push dword [ebp - 4]
call fcn.00446f92
add esp, 0x14
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00445fbb
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446e5e
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446ddf
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446df5
add esp, 0x3c
movzx esi, al
xor eax, eax
push 0xa
pop ecx
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
neg eax
mov dword [ebp - 0x68], eax
xor eax, eax
inc eax
mov word [ebp - 0x64], ax
push ebx
mov eax, esi
shl eax, 3
push ebx
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x70], 0x28
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x42e3d3
cmp dword [ebp - 0x20], ebx
je 0x42e3d3
test byte [ebp - 0xc], 2
je 0x42e54c
push dword [ebp - 4]
call fcn.0044a725
pop ecx
push dword [ebp - 4]
call fcn.0044a732
pop ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xd0]
mov edi, esi
mov dword [ecx + 0xd4], edx
imul edi, dword [ebp - 0x10]
add edi, 3
and edi, 0xfffffffc
cmp eax, ebx
jle 0x42e613
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x14], ebx
jbe 0x42e60a
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
lea esi, [ecx + eax]
push ebx
push esi
push dword [ebp - 4]
call fcn.00445fed
add esp, 0xc
cmp dword [ebp - 0x34], 4
jne 0x42e5fc
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x10], ebx
jbe 0x42e5fc
movzx ecx, byte [esi + 3]
movzx eax, byte [esi]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movzx ecx, byte [esi + 3]
mov byte [esi], al
movzx eax, byte [esi + 1]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
movzx ecx, byte [esi + 3]
add esi, 4
mov byte [esi - 3], al
movzx eax, byte [esi - 2]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
inc dword [ebp - 0x24]
mov byte [esi - 2], al
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jb 0x42e5ae
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x28], edi
cmp eax, dword [ebp - 0x14]
jb 0x42e58a
dec dword [ebp - 0x30]
jne 0x42e57b
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00446416
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
je 0x42e644
cmp dword [ebp - 8], ebx
je 0x42e631
push ebx
lea eax, [ebp - 8]
push eax
jmp 0x42e638
cmp dword [ebp - 4], ebx
je 0x42e644
push ebx
push ebx
lea eax, [ebp - 4]
push eax
call fcn.00446c68
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x42e3d5