Function at 0x42cfe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, ebx
mov eax, dword [edi + 0x42d8]
test al, 0x10
jne 0x42d0a7
test al, 1
je 0x42d026
mov eax, dword [ebp + 0x14]
push eax
push str._010u
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, eax
mov al, byte [edi + 0x42d8]
add esp, 0xc
add esi, ebx
test al, 4
je 0x42d0a7
jmp 0x42d0a3
test al, 8
je 0x42d070
test eax, 0x10000
mov eax, dword [ebp + 0x14]
je 0x42d052
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str._04x:_04x
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x42d095
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
push str._04X:_04X
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x42d095
test eax, 0x10000
je 0x42d082
mov eax, dword [ebp + 0x14]
push eax
push str._08x
jmp 0x42d08b
mov ecx, dword [ebp + 0x14]
push ecx
push str._08X
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, eax
mov al, byte [edi + 0x42d8]
add esi, ebx
test al, 4
je 0x42d0a7
mov byte [esi], 0x3a
inc esi
mov ecx, dword [edi + 0x4390]
xor eax, eax
test ecx, ecx
jle 0x42d0c2
mov byte [esi], 0x20
mov ecx, dword [edi + 0x4390]
inc esi
inc eax
cmp eax, ecx
jl 0x42d0b3
mov eax, dword [edi + 0x42d8]
and eax, 0xe0
cmp eax, 0x80
ja case.0x42d0e0.4
xor edx, edx
mov dl, byte [eax + 0x42d2f8]
jmp dword [edx*4 + 0x42d2e4]
mov eax, dword [ebp + 0x10]
test eax, eax
jle case.0x42d0e0.4
mov ecx, 1
mov eax, dword [ebp + 0xc]
mov dl, byte [eax + ecx - 1]
mov eax, dword [edi + 0x42d8]
mov byte [ebp + 0x14], dl
test eax, 0x10000
mov eax, dword [ebp + 0x14]
je 0x42d12a
and eax, 0xff
shl eax, 1
inc esi
mov dl, byte [eax + str.000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff]
mov byte [esi - 1], dl
mov al, byte [eax + 0x4bddad]
jmp 0x42d141
and eax, 0xff
shl eax, 1
inc esi
mov dl, byte [eax + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
mov byte [esi - 1], dl
mov al, byte [eax + 0x4bdba9]
mov byte [esi], al
mov eax, ecx
cdq
idiv dword [edi + 0x43a8]
inc esi
test edx, edx
jne 0x42d155
mov byte [esi], 0x20
inc esi
mov eax, dword [ebp + 0x10]
inc ecx
lea edx, [ecx - 1]
cmp edx, eax
jl 0x42d0f7
jmp case.0x42d0e0.4
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test eax, eax
jle case.0x42d0e0.4
mov eax, dword [ebp + 0xc]
mov cl, byte [ebx + eax]
mov byte [ebp + 0x14], cl
mov edx, dword [ebp + 0x14]
and edx, 0xff
push edx
push str._03d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, eax
jl 0x42d172
jmp case.0x42d0e0.4
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test eax, eax
jle case.0x42d0e0.4
mov eax, dword [ebp + 0xc]
push 3
mov cl, byte [ebx + eax]
mov byte [ebp + 0x14], cl
mov edx, dword [ebp + 0x14]
and edx, 0xff
push edx
push esi
call fcn.0042c490
add esi, eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov byte [esi], 0x20
inc esi
inc ebx
cmp ebx, eax
jl 0x42d1a9
jmp case.0x42d0e0.4
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test eax, eax
jle case.0x42d0e0.4
mov eax, dword [ebp + 0xc]
mov cl, byte [ebx + eax]
mov byte [ebp + 0x14], cl
mov edx, dword [ebp + 0x14]
and edx, 0xff
push edx
push 1
push esi
call fcn.0042c450
add esi, eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov byte [esi], 0x20
inc esi
inc ebx
cmp ebx, eax
jl 0x42d1e0
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0x438c]
dec esi
cmp edx, eax
mov ecx, edx
jge 0x42d242
mov ebx, dword [edi + 0x43a4]
xor eax, eax
test ebx, ebx
jle 0x42d237
mov byte [esi], 0x20
mov ebx, dword [edi + 0x43a4]
inc esi
inc eax
cmp eax, ebx
jl 0x42d228
mov eax, dword [edi + 0x438c]
inc ecx
cmp ecx, eax
jl 0x42d21c
mov ecx, dword [edi + 0x4394]
xor eax, eax
test ecx, ecx
jle 0x42d25d
mov byte [esi], 0x20
mov ecx, dword [edi + 0x4394]
inc esi
inc eax
cmp eax, ecx
jl 0x42d24e
xor ebx, ebx
test edx, edx
jle 0x42d2bb
mov eax, dword [ebp + 0xc]
mov cl, byte [ebx + eax]
mov eax, dword [edi + 0x42d8]
test ah, 0x10
mov byte [ebp + 0x14], cl
jne 0x42d285
cmp cl, 0x80
jb 0x42d285
mov cl, byte [edi + 0x43ac]
mov byte [ebp + 0x14], cl
test ah, 8
jne 0x42d298
cmp cl, 0x20
jae 0x42d298
mov cl, byte [edi + 0x43ac]
mov byte [ebp + 0x14], cl
mov edx, dword [ebp + 0x14]
and edx, 0xff
push edx
push 0x4bc5d0
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, eax
jl 0x42d263
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x438c]
cmp eax, ecx
jge 0x42d2d7
mov byte [esi], 0x20
mov ecx, dword [edi + 0x438c]
inc esi
inc eax
cmp eax, ecx
jl 0x42d2c8
mov eax, dword [ebp + 8]
mov byte [esi], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10