Function at 0x43b350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x34
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
push ebx
mov dword [esp + 0x24], edx
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov dh, byte [esi + 1]
push edi
mov edi, dword [eax]
lea eax, [esi + 1]
mov dword [esp + 0x2c], eax
add eax, 1
add eax, 1
mov dword [esp + 0x34], ecx
movzx ecx, byte [esi]
or ecx, edx
movzx edx, byte [eax - 1]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax - 1]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax - 1]
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x38], cl
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x3a], al
shl ebx, 0x10
or edx, ebx
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
test ebp, ebp
mov dword [esp + 0x20], edx
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3f], al
je 0x43b559
lea esp, [esp]
mov ebp, 1
sub dword [esp + 0x14], ebp
test edi, edi
jne 0x43b4b3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0043bf10
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, eax
shr ebx, 8
mov byte [esp + 0x49], bl
mov ebx, eax
mov ecx, eax
mov byte [esp + 0x48], al
shr ebx, 0x10
shr eax, 0x18
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], al
mov eax, edx
mov ebx, eax
shr ebx, 8
mov byte [esp + 0x4d], bl
mov ebx, eax
mov byte [esp + 0x4c], al
shr ebx, 0x10
shr eax, 0x18
add esp, 0x10
add dword [esp + 0x18], ebp
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], al
mov al, byte [esp + edi + 0x38]
mov ebx, dword [esp + 0x48]
xor al, byte [ebx]
mov ebp, dword [esp + 0x24]
add dword [esp + 0x48], 1
add edi, 1
mov byte [ebp], al
add ebp, 1
and edi, 7
cmp dword [esp + 0x14], 0
mov dword [esp + 0x24], ebp
jne 0x43b440
cmp dword [esp + 0x18], 0
je 0x43b540
mov byte [esi], cl
mov esi, dword [esp + 0x2c]
mov eax, ecx
shr eax, 8
mov byte [esi], al
add esi, 1
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
add esi, 1
shr ecx, 0x18
mov byte [esi], cl
mov byte [esi + 1], dl
add esi, 1
add esi, 1
mov ecx, edx
shr ecx, 8
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
add esi, 1
mov eax, edx
shr eax, 0x10
mov byte [esi], al
shr edx, 0x18
mov byte [esi + 1], dl
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00403cb8
add esp, 0x34
ret
mov edx, dword [esp + 0x10]
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00403cb8
add esp, 0x34
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403cb8
add esp, 0x34
ret