Function at 0x434b06
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xbc
mov eax, 0x4b3688
call fcn.004879f3
mov ebx, ecx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc4]
push 0xc
push dword [eax + 8]
call esi
mov ecx, dword [ebx + 0xc4]
mov edi, eax
push 0xe
push dword [ecx + 8]
call esi
mov esi, eax
imul esi, edi
cmp dword [ebx + 0xec], 0
mov dword [ebp - 0x64], esi
je 0x434ed1
cmp dword [ebx + 0x100], 0x20
jne 0x434ed1
lea ecx, [ebp - 0xc8]
call fcn.0042ef84
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0x20
je 0x434bf5
push eax
push eax
push eax
push 0x20
push dword [ebx + 0x8c]
lea ecx, [ebp - 0xc8]
push dword [ebx + 0x88]
call fcn.0042f00c
mov eax, dword [ebx + 0xc4]
test eax, eax
je 0x434ba8
mov eax, dword [eax + 4]
push 0xcc0020
push dword [ebx + 0x84]
lea ecx, [ebp - 0xc8]
push dword [ebx + 0x80]
push eax
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push 0
push 0
call fcn.0042f11d
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xc4]
call fcn.00469168
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x34], eax
call fcn.0042f695
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x34]
push 0x18
push dword [eax + 4]
call esi
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
imul edi, eax
lea eax, [ebp - 0x94]
push eax
push 0x18
push dword [ecx + 4]
call esi
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
imul eax, ecx
push edi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x38], eax
call fcn.0045a5c8
mov esi, dword [sym.imp.GDI32.dll_GetBitmapBits]
pop ecx
push eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
push edi
push dword [eax + 4]
call esi
mov edi, dword [ebp - 0x38]
push edi
call fcn.0045a5c8
pop ecx
push eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
push edi
push dword [eax + 4]
call esi
mov edx, dword [ebp - 0x74]
xor esi, esi
mov dword [ebp - 0x4c], esi
test edx, edx
jle 0x434d7a
mov edi, dword [ebp - 0x78]
xor eax, eax
mov ebx, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
and dword [ebp - 0x48], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
test edi, edi
jle 0x434d5f
mov edx, eax
mov cl, byte [edx + ebx + 3]
movzx esi, byte [edx + ebx + 3]
not cl
movzx eax, byte [edx + ebx]
mov edx, dword [ebp - 0x24]
movzx edi, cl
mov ecx, dword [ebp - 0x3c]
imul eax, esi
movzx ecx, byte [edx + ecx]
xor edx, edx
imul ecx, edi
add eax, ecx
mov ecx, 0xff
div ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov byte [edx + ebx], al
movzx ecx, byte [edx + ecx + 1]
xor edx, edx
mov eax, dword [ebp - 0x28]
imul ecx, edi
movzx eax, byte [eax + ebx + 1]
imul eax, esi
add eax, ecx
mov ecx, 0xff
div ecx
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov byte [ecx + ebx + 1], al
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
movzx eax, byte [eax + ebx + 2]
imul eax, esi
mov esi, dword [ebp - 0x24]
movzx ecx, byte [esi + ecx + 2]
imul ecx, edi
add eax, ecx
mov ecx, 0xff
div ecx
mov edx, dword [ebp - 0x28]
mov byte [esi + ebx + 2], al
movzx eax, word [ebp - 0x6a]
mov edi, dword [ebp - 0x78]
shr eax, 3
add esi, eax
movzx eax, word [ebp - 0x82]
shr eax, 3
add edx, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x48], eax
cmp eax, edi
jl 0x434ca0
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x58]
inc esi
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
cmp esi, edx
jl 0x434c8c
mov ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x64], 0x20
lea edi, [ebx + 0xe8]
jne 0x434d9e
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_SetBitmapBits]
jmp 0x434e21
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.GDI32.dll_SetBitmapBits]
push dword [eax + 4]
call esi
mov ecx, edi
call fcn.0042f0f9
mov ecx, dword [ebp - 0x2c]
push 0
mov eax, dword [ecx + 4]
mov ecx, edi
mov dword [edi + 4], eax
call fcn.0042f6d2
push 0xcc0020
push 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.0042f11d
push eax
push dword [ebx + 0x8c]
mov ecx, edi
push dword [ebx + 0x88]
push 0
push 0
call fcn.0042f11d
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, edi
call fcn.0042f695
lea ecx, [ebp - 0xc8]
call fcn.0042f695
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x38]
push dword [eax + 4]
call esi
mov esi, dword [ebp - 0x30]
cmp dword [ebx + 0xac], 0
je 0x434eb2
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], vtable.CGdiObject.0
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], vtable.CBrush.0
mov byte [ebp - 4], 2
push dword [ebx + 0xb0]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp - 0x44]
call fcn.00468f2c
mov eax, dword [ebx + 0x88]
mov ecx, edi
push dword [ebp - 0x40]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042f11d
push eax
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [ebp - 0x44]
call fcn.0046905d
mov ecx, edi
call fcn.0042f695
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], vtable.CBrush.0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0043144d
push dword [ebp - 0x3c]
call fcn.0045a5c3
push esi
call fcn.0045a5c3
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0042efe8
call fcn.0048799d
ret 8