Function at 0x906124f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a28f1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1e00
call fcn.0909ea10
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [edi + 4]
add eax, 0x78
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x1dec], esi
mov dword [ebp - 0x1df0], edi
call fcn.090424a0
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x90612d3
mov eax, dword [edi + 4]
push 0
push 0x753
push 0xb71b
push eax
call fcn.090424a0
add esp, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [ebp - 0x1df4], edi
call fcn.0900e991
and dword [ebp - 4], 0
xor edx, edx
lea eax, [ebp - 0x1dd4]
inc edx
mov ecx, edx
shr ecx, 1
movzx ecx, cx
mov word [eax - 2], cx
mov word [eax], cx
mov word [eax + 2], cx
add edx, 0x101
add eax, 8
cmp edx, 0x10101
jb 0x90612ed
push 0
push 0x504c4142
push 0x50524742
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x1dd8]
push eax
push eax
mov ecx, edi
call fcn.090424a0
xor eax, eax
mov cx, word [ebp + eax*8 - 0x1dd6]
mov word [ebp + eax*2 - 0x15d0], cx
inc eax
cmp eax, esi
jb 0x9061333
lea ecx, [ebp - 0x15d0]
call fcn.0905f132
test al, al
jne 0x9061362
lea ecx, [ebp - 0x15d0]
call fcn.0905f118
push 2
lea ecx, [ebp - 0x15d0]
call fcn.090424a0
mov eax, dword [ebp - 0x1dec]
xor edx, edx
add eax, 0x204
movzx ecx, word [ebp + edx*2 - 0x15d0]
mov word [eax - 0x200], cx
mov word [eax], cx
mov word [eax + 0x200], cx
inc edx
add eax, 2
cmp edx, esi
jb 0x906137c
lea eax, [ebp - 0x1dd8]
push eax
lea ecx, [ebp - 0x15d0]
call fcn.090424a0
lea esi, [ebp - 0x48]
mov dword [ebp - 0x1ddc], 0xc
mov eax, dword [ebp - 0x1ddc]
push 0x18
pop ecx
xor edx, edx
div ecx
lea ecx, [ebp - 0x1dd8]
push eax
call fcn.090424a0
add dword [ebp - 0x1ddc], 0x8000
mov word [esi], ax
add esi, 2
cmp dword [ebp - 0x1ddc], 0xc800c
jb 0x90613bc
and dword [ebp - 0x1de4], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1de8], eax
jmp 0x9061409
mov edi, dword [ebp - 0x1df0]
mov eax, dword [ebp - 0x1de8]
movzx eax, word [eax]
and dword [ebp - 0x1ddc], 0
mov dword [ebp - 0x1de0], eax
lea eax, [ebp - 0x13cc]
mov edx, dword [ebp - 0x1ddc]
movzx edx, word [ebp + edx*2 - 0x48]
xor ecx, ecx
mov si, word [ebp - 0x1de0]
mov word [eax - 2], si
mov si, word [ebp + ecx*2 - 0x48]
mov word [eax], dx
mov word [eax + 2], si
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x9061432
inc dword [ebp - 0x1ddc]
cmp dword [ebp - 0x1ddc], 0x19
jb 0x9061425
push 0
push 0x504c4142
push 0x50524742
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, edi
call fcn.090424a0
mov eax, dword [ebp - 0x1dec]
push 1
push 0x753
push dword [ebp - 0x1de4]
lea ecx, [ebp - 0x1e10]
push dword [eax]
call fcn.090424a0
lea ecx, [ebp - 0x1e10]
mov byte [ebp - 4], 1
call fcn.09005145
lea edi, [ebp - 0x13d0]
lea esi, [eax + 2]
mov dword [ebp - 0x1de0], 0x19
mov dword [ebp - 0x1ddc], 0x19
mov eax, dword [edi]
mov ecx, dword [edi + 4]
shr eax, 0x10
imul eax, eax, 0xff
add eax, 0x4000
shr eax, 0xf
mov byte [esi - 2], al
movzx eax, cx
push eax
mov dword [ebp - 0x1df8], ecx
call fcn.090424a0
mov byte [esi - 1], al
movzx eax, word [ebp - 0x1df6]
push eax
call fcn.090424a0
mov byte [esi], al
pop ecx
add esi, 3
add edi, 8
dec dword [ebp - 0x1ddc]
pop ecx
jne 0x90614cd
dec dword [ebp - 0x1de0]
jne 0x90614c3
lea ecx, [ebp - 0x1e10]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x1de4], 0x753
add dword [ebp - 0x1de8], 2
cmp dword [ebp - 0x1de4], 0xb71b
jb 0x9061403
mov ecx, dword [ebp - 0x1df0]
or dword [ebp - 4], 0xffffffff
call fcn.090424a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4