Function at 0x55b5d0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
mov eax, dword [0x61f138]
xor eax, esp
mov dword [esp + 0xf0], eax
xor eax, eax
mov dword [esp + 0x30], ecx
mov word [esp + 0xa0], ax
movsx eax, word [esp + 0x114]
mov dword [esp + 0x4c], eax
dec eax
push ebx
push ebp
mov ebp, dword [esp + 0x100]
lea ebx, [esp + 0xb8]
lea ecx, [edx + eax*2]
mov dword [esp + 0xc], eax
add ebx, eax
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x108]
sub ebp, edx
sub eax, edx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x110]
lea edx, [esp + 0xb8]
push esi
mov esi, dword [esp + 0x108]
push edi
sub esi, edx
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x120]
mov edi, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], ebp
movsx ebp, word [eax + ecx]
movzx eax, byte [esi + ebx]
add ebp, dword [esp + 0x114]
mov dx, word [esp + 0x11c]
movsx esi, word [ecx]
mov dword [esp + 0x18], ebx
xor ebx, ebx
shl eax, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ebx
test edi, edi
jle 0x55b87a
mov eax, dword [esp + 0x44]
movzx eax, word [eax + ecx]
cwde
mov dword [esp + 0x30], eax
lea eax, [esp + 0x60]
lea eax, [eax + edi*4]
movsx ecx, dx
sar ecx, 0xf
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb0]
lea eax, [eax + edi*2]
movsx ecx, cx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edi
jmp 0x55b6f4
mov edi, dword [esp + 0x28]
movsx edx, word [esp + ebx*2 + 0xb0]
imul edx, dword [esp + 0x4c]
sar edx, 0x10
sub esi, edx
movsx ecx, si
movzx esi, word [esp + 0x11c]
mov eax, ecx
imul ecx, dword [esp + 0x50]
imul eax, esi
sar eax, 0x10
add eax, ecx
cmp eax, 9
jle 0x55b72c
mov eax, 9
jmp 0x55b737
cmp eax, 0xfffffff6
mov ecx, 0xfffffff6
cmovl eax, ecx
mov esi, eax
mov byte [edi], al
shl esi, 0xa
mov ecx, esi
lea edi, [esi + 0x400]
test eax, eax
jle 0x55b752
sub esi, 0x66
sub edi, 0x66
jmp 0x55b767
jne 0x55b759
sub edi, 0x66
jmp 0x55b767
add esi, 0x66
cmp eax, 0xffffffff
je 0x55b767
lea edi, [ecx + 0x466]
movzx ecx, si
imul ecx, dword [esp + 0x1c]
sar esi, 0x10
imul esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
sar ecx, 0x10
add ecx, edx
add esi, ecx
movzx ecx, di
imul ecx, dword [esp + 0x1c]
sar edi, 0x10
imul edi, dword [esp + 0x1c]
mov word [esp + ebx*2 + 0xb0], si
sar ecx, 0x10
add ecx, edx
add edi, ecx
mov ecx, dword [esp + 0x10]
mov word [ecx], di
lea ecx, [eax + 1]
cmp ecx, 4
jl 0x55b7ca
jne 0x55b7be
movzx ebx, byte [eax + ebp + 4]
mov ebp, 0x118
jmp 0x55b7f6
cwde
imul ebx, eax, 0x2b
add ebx, 0x6c
lea ebp, [ebx + 0x2b]
jmp 0x55b7f6
cmp eax, 0xfffffffc
jg 0x55b7ec
jne 0x55b7dc
movzx ebp, byte [ebp + 1]
mov ebx, 0x118
jmp 0x55b7f6
cwde
mov ebx, 0x6c
imul eax, eax, 0x2b
sub ebx, eax
lea ebp, [ebx - 0x2b]
jmp 0x55b7f6
movzx ebx, byte [eax + ebp + 4]
movzx ebp, byte [eax + ebp + 5]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add dword [esp + 0x28], 0x10
add dword [esp + 0x10], 2
movsx eax, word [ecx]
mov ecx, dword [esp + 0x30]
sub eax, esi
mov esi, dword [esp + 0x34]
mov edx, dword [esp + edx*4 + 0x60]
cwde
imul ecx, eax
imul ecx, eax
movsx eax, bx
movsx ebx, si
imul eax, ebx
mov ebx, dword [esp + 0x24]
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + ebx*4 + 0x60], eax
inc ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
movsx esi, word [eax]
mov eax, esi
sub eax, edi
cwde
imul ecx, eax
imul ecx, eax
movsx eax, bp
mov ebp, dword [esp + 0x34]
movsx edi, bp
imul eax, edi
mov edi, dword [esp + 0x2c]
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x38], ecx
cmp ebx, edi
jl 0x55b6f0
mov ebp, dword [esp + 0x14]
cmp edi, 4
jge 0x55b8f5
mov ebx, dword [esp + 0x18]
test edi, edi
jle 0x55b8b1
mov eax, edi
lea edx, [esp + 0xc0]
shl eax, 4
mov ecx, ebx
add eax, ebp
mov esi, edi
add edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 0x10]
inc al
mov byte [edx], al
add edx, 0x10
sub esi, 1
jne 0x55b8a0
add edi, edi
mov dword [esp + 0x2c], edi
cmp edi, 4
jge 0x55babf
mov eax, edi
lea ecx, [esp + 0xc0]
shl eax, 4
mov esi, 4
add eax, ebp
mov edx, ebx
add ecx, eax
sub esi, edi
lea esp, [esp]
mov al, byte [edx]
lea ecx, [ecx + 0x10]
add edx, 0x10
mov byte [ecx - 0x10], al
sub esi, 1
jne 0x55b8e0
jmp 0x55babf
test ebp, ebp
jle 0x55bad9
xor edx, edx
nop
mov edi, dword [esp + edx*4 + 0x70]
mov esi, dword [esp + edx*4 + 0x60]
cmp esi, edi
jle 0x55b93b
movzx ecx, word [esp + edx*2 + 0xb0]
mov ax, word [esp + edx*2 + 0xb8]
mov word [esp + edx*2 + 0xb0], ax
lea eax, [edx + 4]
mov word [esp + edx*2 + 0xb8], cx
mov ecx, edi
mov dword [esp + edx*4 + 0x60], edi
mov dword [esp + edx*4 + 0x70], esi
jmp 0x55b941
mov ecx, esi
mov eax, edx
mov esi, edi
mov dword [esp + edx*4 + 0xa0], esi
mov dword [esp + edx*4 + 0x90], ecx
mov dword [esp + edx*4 + 0x80], eax
inc edx
cmp edx, 4
jl 0x55b900
mov ebp, 2
mov ecx, dword [esp + 0x90]
mov esi, SysReAllocString
cmp dword [esp + 0xa0], esi
mov edi, dword [esp + 0x94]
cmovl esi, dword [esp + 0xa0]
xor eax, eax
test ecx, ecx
cmovle ecx, eax
mov eax, dword [esp + 0xa4]
cmp esi, eax
mov edx, eax
cmovle edx, esi
xor ebx, ebx
cmp ecx, edi
setl bl
cmovge edi, ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x10], ebx
xor ebx, ebx
cmp esi, eax
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x10]
setg bl
cmp edx, eax
cmovle eax, edx
cmovg ebx, ebp
mov edx, dword [esp + 0x98]
cmp edi, edx
cmovge edx, edi
cmovl esi, ebp
cmp eax, ecx
mov edi, 3
cmovle ecx, eax
cmovg ebx, edi
mov eax, dword [esp + 0x9c]
cmp edx, eax
cmovl esi, edi
cmovge eax, edx
mov dword [esp + 0x10], esi
cmp ecx, eax
jge 0x55ba80
mov eax, dword [esp + ebx*4 + 0x80]
mov ecx, esi
xor eax, 4
mov dword [esp + ebx*4 + 0xa0], VariantInit
mov dword [esp + ecx*4 + 0x80], eax
mov eax, dword [esp + ebx*4 + 0x70]
mov dword [esp + ecx*4 + 0x60], eax
mov ax, word [esp + ebx*2 + 0xb8]
add ebx, ebx
mov word [esp + ecx*2 + 0xb0], ax
mov dword [esp + ecx*4 + 0x90], 0
add ecx, ecx
mov eax, dword [esp + ebx*8 + 0xc0]
mov dword [esp + ecx*8 + 0xc0], eax
mov eax, dword [esp + ebx*8 + 0xc4]
mov dword [esp + ecx*8 + 0xc4], eax
mov eax, dword [esp + ebx*8 + 0xc8]
mov dword [esp + ecx*8 + 0xc8], eax
mov eax, dword [esp + ebx*8 + 0xcc]
mov dword [esp + ecx*8 + 0xcc], eax
jmp 0x55b961
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
sar eax, 2
add byte [ebx], al
mov eax, dword [esp + 0x84]
sar eax, 2
add byte [ebx + 0x10], al
mov eax, dword [esp + 0x88]
sar eax, 2
add byte [ebx + 0x20], al
mov eax, dword [esp + 0x8c]
sar eax, 2
add byte [ebx + 0x30], al
mov ecx, dword [esp + 0x20]
dec ebp
mov eax, dword [esp + 0x54]
sub ecx, 2
mov esi, dword [esp + 0x58]
dec ebx
mov dword [esp + 0x14], ebp
jmp 0x55b668
mov eax, dword [esp + 0x64]
mov ecx, SysReAllocString
cmp dword [esp + 0x60], ecx
mov edx, eax
mov esi, dword [esp + 0x68]
mov ebp, 2
cmovl ecx, dword [esp + 0x60]
cmp ecx, eax
cmovle edx, ecx
xor ebx, ebx
cmp ecx, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
setg bl
cmp edx, esi
cmovle esi, edx
cmovg ebx, ebp
cmp esi, eax
mov edx, 3
cmovg ebx, edx
cmovle eax, esi
mov esi, dword [esp + 0x7c]
cmp eax, ecx
mov edx, 4
cmovg ebx, edx
cmovle ecx, eax
mov eax, dword [esp + 0x74]
mov edx, 5
cmp ecx, eax
cmovg ebx, edx
cmovle eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, 6
cmp eax, ecx
cmovle ecx, eax
cmovg ebx, edx
mov edx, dword [esp + 0x5c]
cmp ecx, esi
mov eax, 7
cmovg ebx, eax
cmovle esi, ecx
test edx, edx
jle 0x55bb86
mov eax, ebx
lea ecx, [esp + 0xc0]
and eax, 3
shl eax, 4
push edx
add ecx, eax
push ecx
push dword [esp + 0x48]
call fcn.00586300
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x100]
sar ebx, 2
pop edi
add byte [eax], bl
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0056eeb4
add esp, 0xf4
ret