Function at 0x43ff90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov dword [esp], 0x80b0a0d
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edi, 0x43
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi - 0x43]
mov ebx, ecx
and ebx, edi
mov eax, ebx
or al, 0xfd
inc al
mov edx, ebx
and dl, 0x4d
mul dl
mov edx, eax
add dl, cl
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub dl, al
movzx eax, dl
add eax, edi
add al, 0xb1
mov byte [esp + edi - 0x43], al
inc edi
cmp edi, 0x4a
jne 0x43ffd0
mov eax, dword [esp]
mov ecx, dword [0x44f534]
test ecx, ecx
je 0x44005e
xor edx, edx
mov edi, dword [0x44f538]
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x440030
inc edx
cmp ecx, edx
jne 0x440020
jmp 0x44005e
mov edx, dword [edi + edx*8 + 4]
cmp edx, eax
je 0x44005e
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push ecx
push 0xffffffffffffffff
push 6
push dword [0x44f53c]
push edx
call fcn.00440f10
add esp, 0x24
test eax, eax
js 0x4400c0
mov ecx, dword [esp + 0x30]
push 0
push 0
push dword [ebp + 8]
push dword [esp + 0x14]
push dword [ebp + 4]
mov dword [esp + 0x24], ebp
push dword [ebp]
call fcn.0043f370
test eax, eax
jns 0x440096
xor edi, edi
mov ebp, 0
cmp eax, 0x8000000d
jne 0x440152
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
add ecx, edx
sub ecx, dword [esp + 0x38]
xor edi, edi
mov ebp, 0
mov dword [esp + 0xc], edx
cmp ecx, edx
jbe 0x440152
mov eax, dword [esp + 0xc]
jmp 0x4400dc
xor edi, edi
xor ebp, ebp
jmp 0x44020a
add eax, edx
dec eax
inc eax
xor edi, edi
mov ebp, 0
cmp eax, ecx
jae 0x440152
test esi, esi
je 0x4400e5
cmp byte [esi], 0x3f
je 0x4400f0
movzx edx, byte [eax]
mov edi, dword [esp + 0x34]
cmp dl, byte [edi]
jne 0x4400cc
mov ebp, dword [esp + 0x38]
cmp ebp, 2
jb 0x440134
mov edx, 1
jmp 0x440128
movzx ebx, byte [eax + edx]
mov edi, dword [esp + 0x34]
cmp bl, byte [edi + edx]
jne 0x4400c9
mov edi, edx
and edi, 0xe7f2c57e
xor edx, 0xe7f2c57e
lea edx, [edx + edi*2]
add edx, 0x180d3a83
cmp edx, ebp
jae 0x440134
test esi, esi
je 0x440100
cmp byte [esi + edx], 0x3f
jne 0x440100
jmp 0x44010d
test eax, eax
je 0x44014e
sub eax, dword [esp + 0xc]
mov ebp, eax
sar ebp, 0x1f
mov ecx, dword [esp + 0x10]
add eax, dword [ecx]
adc ebp, dword [ecx + 4]
mov edi, eax
jmp 0x440152
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], 0
mov dword [esp], 0x80b0a0d
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov esi, 0x43
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + esi - 0x43]
mov ebx, edx
and ebx, esi
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
add cl, dl
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, esi
add al, 0xb1
mov byte [esp + esi - 0x43], al
inc esi
cmp esi, 0x4a
jne 0x440180
mov eax, dword [0x44f534]
test eax, eax
je 0x44020a
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x44f538]
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x4401e0
inc edx
cmp eax, edx
jne 0x4401d0
jmp 0x44020a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x44020a
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x44f53c]
push eax
call fcn.00440f10
add esp, 0x1c
mov eax, edi
mov edx, ebp
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10