Function at 0x44c34c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x44c619
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x44c39b
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x44c5e0
mov eax, dword [ebp - 4]
test eax, eax
je 0x44c3af
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x44c5e0
mov eax, edx
test eax, eax
je 0x44c3c2
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x100
jle 0x44c3fd
push pe_nt_image_headers32
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x44c110]
call fcn.00406858
add esp, 4
lea eax, [ebp - 8]
call fcn.0040595c
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, pe_nt_image_headers32
call fcn.0044c138
jmp 0x44c43f
mov ebx, edx
test ebx, ebx
je 0x44c408
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x44c110]
call fcn.00406858
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44c42b
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
call fcn.0040595c
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0044c138
xor esi, esi
lea eax, [ebp - 0x41c]
mov dword [eax], esi
inc esi
add eax, 4
cmp esi, 0x100
jne 0x44c447
xor ebx, ebx
xor esi, esi
lea ecx, [ebp - 0x41c]
mov edi, dword [ebp - 8]
test edi, edi
je 0x44c46b
sub edi, 4
mov edi, dword [edi]
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edx]
add ebx, dword [ecx]
add eax, ebx
and eax, 0x800000ff
jns 0x44c489
dec eax
or eax, 0xffffff00
inc eax
mov ebx, eax
movzx eax, byte [ecx]
mov byte [ebp - 0x15], al
mov eax, dword [ebp + ebx*4 - 0x41c]
mov dword [ecx], eax
movzx eax, byte [ebp - 0x15]
mov dword [ebp + ebx*4 - 0x41c], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x44c45f
xor ebx, ebx
xor edi, edi
mov esi, dword [ebp - 4]
test esi, esi
je 0x44c4c1
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x44c110]
call fcn.00406858
add esp, 4
mov esi, dword [ebp - 4]
test esi, esi
je 0x44c4e4
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
call fcn.0040595c
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0044c138
mov eax, dword [ebp - 4]
test eax, eax
je 0x44c504
sub eax, 4
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x44c58f
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
inc ebx
and ebx, 0x800000ff
jns 0x44c524
dec ebx
or ebx, 0xffffff00
inc ebx
add edi, dword [ebp + ebx*4 - 0x41c]
and edi, 0x800000ff
jns 0x44c53b
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + ebx*4 - 0x41c]
mov byte [ebp - 0x15], al
mov eax, dword [ebp + edi*4 - 0x41c]
mov dword [ebp + ebx*4 - 0x41c], eax
movzx eax, byte [ebp - 0x15]
mov dword [ebp + edi*4 - 0x41c], eax
mov eax, dword [ebp + ebx*4 - 0x41c]
add eax, dword [ebp + edi*4 - 0x41c]
and eax, 0x800000ff
jns 0x44c57b
dec eax
or eax, 0xffffff00
inc eax
movzx eax, byte [ebp + eax*4 - 0x41c]
mov edx, dword [ebp - 0x10]
xor byte [edx + esi], al
inc esi
dec dword [ebp - 0x1c]
jne 0x44c513
mov eax, dword [ebp - 4]
test eax, eax
je 0x44c59b
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
xchg edx, eax
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44c5b0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
call fcn.0040595c
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.0044c138
lea edx, [ebp - 0x420]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044c140
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x14]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c620
lea eax, [ebp - 0x420]
call fcn.0040546c
lea eax, [ebp - 0x10]
mov edx, dword [0x44c110]
mov ecx, 2
call fcn.00406024
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret