Function at 0x43cbb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x4750fc]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov dword [ebp - 0x1d0], ecx
cmp dword [ebp + 8], 0
jne 0x43cbd6
jmp 0x43d097
mov byte [ebp - 0x1b8], 0
xor eax, eax
mov dword [ebp - 0x1b7], eax
mov dword [ebp - 0x1b3], eax
mov dword [ebp - 0x1af], eax
mov word [ebp - 0x1ab], ax
push 0xf
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.0041b740
add esp, 0xc
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x1a8], 0
push 0x3f
push 0
lea eax, [ebp - 0x1a7]
push eax
call fcn.0041bda0
add esp, 0xc
mov byte [ebp - 0x150], 0
xor ecx, ecx
mov dword [ebp - 0x14f], ecx
mov dword [ebp - 0x14b], ecx
mov dword [ebp - 0x147], ecx
mov dword [ebp - 0x143], ecx
mov dword [ebp - 0x13f], ecx
mov dword [ebp - 0x13b], ecx
mov dword [ebp - 0x137], ecx
mov word [ebp - 0x133], cx
mov byte [ebp - 0x131], cl
lea edx, [ebp - 0x1a7]
mov dword [ebp - 0x2c], edx
mov ecx, 6
mov esi, str.BCDFGHJKMPQRTVWXY2346789
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
movzx ecx, byte [ebp - 0x1aa]
and ecx, 8
je 0x43cd24
mov dl, byte [ebp - 0x1aa]
mov byte [ebp - 0x1ba], dl
movzx eax, byte [ebp - 0x1ba]
sar eax, 1
mov byte [ebp - 0x1ba], al
movzx ecx, byte [ebp - 0x1ba]
and ecx, 0x78
mov byte [ebp - 0x1ba], cl
mov dl, byte [ebp - 0x1aa]
mov byte [ebp - 0x1b9], dl
movzx eax, byte [ebp - 0x1b9]
and eax, 0xf7
mov byte [ebp - 0x1b9], al
movzx ecx, byte [ebp - 0x1ba]
movzx edx, byte [ebp - 0x1b9]
or ecx, edx
mov byte [ebp - 0x1ba], cl
mov al, byte [ebp - 0x1ba]
mov byte [ebp - 0x1aa], al
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], 0x18
mov dword [ebp - 4], 0x1c
lea edx, [ebp - 0x134]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x150]
sub ecx, edx
add ecx, 1
mov dword [ebp - 0x1c8], ecx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 6
div ecx
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 6
div ecx
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c4], 0
jne 0x43cdb1
mov edx, dword [ebp - 0x164]
mov byte [edx], 0x2d
mov dword [ebp - 0x28], 0
jmp 0x43cf4a
mov dword [ebp - 0x1cc], 0xe
mov dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1cc]
movzx edx, byte [ebp + ecx - 0x1b8]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c0]
shl eax, 8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
or ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
and edx, 0xff
mov eax, dword [ebp - 0x1cc]
mov byte [ebp + eax - 0x1b8], dl
mov ecx, dword [ebp - 0x1cc]
sub ecx, 1
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
jns 0x43cdc5
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x154], 0
je 0x43ceea
cmp dword [ebp - 0x158], 0
jl 0x43cedb
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x1c4]
mov cl, byte [ebp + eax - 0x24]
mov byte [edx - 1], cl
mov edx, dword [ebp - 0x158]
sub edx, 1
mov dword [ebp - 0x158], edx
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c8]
xor edx, edx
mov ecx, 0x18
div ecx
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x1c4]
mov al, byte [ebp + edx - 0x24]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x164]
sub edx, 1
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x28]
jge 0x43cd4d
mov edx, dword [ebp - 0x154]
cmp edx, dword [ebp - 0x28]
je 0x43cf8e
cmp dword [ebp - 0x15c], 0x1e
jl 0x43cfa8
push 0x20
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041b740
add esp, 0xc
jmp 0x43d097
mov byte [ebp - 0x130], 0
push 0xfe
push 0
lea edx, [ebp - 0x12f]
push edx
call fcn.0041bda0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0041b740
add esp, 0xc
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x130], 0x4e
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0041d8c0
add esp, 8
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x17], 0x2d
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x11], 0x2d
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xb], 0x2d
mov eax, dword [ebp + 0xc]
mov byte [eax + 5], 0x2d
push 5
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041b740
add esp, 0xc
push 5
lea eax, [ebp - 0x12b]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 6
push ecx
call fcn.0041b740
add esp, 0xc
push 5
lea edx, [ebp - 0x126]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0xc
push eax
call fcn.0041b740
add esp, 0xc
push 5
lea ecx, [ebp - 0x121]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x12
push edx
call fcn.0041b740
add esp, 0xc
push 5
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
push ecx
call fcn.0041b740
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b731
mov esp, ebp
pop ebp
ret 8