Function at 0x416460
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440461
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x455010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push pe_nt_image_headers32
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00423fea
mov edi, eax
push pe_nt_image_headers32
push 0
push edi
lea esi, [edi + 0x100]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], esi
call fcn.00425ae0
add esp, 0x10
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
xor eax, eax
mov byte [edi + eax], al
inc eax
cmp eax, 0x100
jl 0x4164e4
mov dword [ebp - 0x3c], 0
xor esi, esi
nop dword [eax + eax]
cmp dword [0x45723c], 0x10
mov ecx, 0x457228
mov eax, esi
cmovae ecx, dword [0x457228]
xor edx, edx
div dword [0x457238]
mov al, byte [edi + esi]
mov byte [ebp - 0x35], al
movzx eax, al
add eax, dword [ebp - 0x3c]
movsx ecx, byte [edx + ecx]
add eax, ecx
and eax, 0x800000ff
jns 0x41653d
dec eax
or eax, 0xffffff00
inc eax
lea ecx, [edi + eax]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
mov byte [edi + esi], al
inc esi
mov al, byte [ebp - 0x35]
mov byte [ecx], al
cmp esi, 0x100
jl 0x416500
mov esi, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 8]
cmp edx, 0x10
mov dword [ebp - 0x44], 1
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x416793
nop dword [eax + eax]
mov dh, byte [eax]
mov eax, dword [ebp - 0x40]
inc eax
and eax, 0x800000ff
jns 0x4165d4
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [edi + eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
movzx esi, dl
add eax, esi
mov dword [ebp - 0x54], esi
and eax, 0x800000ff
jns 0x4165f3
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0x40]
lea ecx, [edi + eax]
mov dword [ebp - 0x48], eax
mov al, byte [ecx]
mov byte [edi + esi], al
mov eax, esi
mov byte [ecx], dl
lea esi, [ebp - 0x13]
movzx eax, byte [edi + eax]
add eax, dword [ebp - 0x54]
movzx eax, al
movzx ecx, byte [eax + edi]
movsx eax, dh
xor ecx, eax
jge 0x416650
neg ecx
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x416620
dec esi
mov byte [esi], 0x2d
jmp 0x416673
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x416650
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0041a760
mov esi, dword [ebp - 0x44]
or esi, 6
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x5c]
mov eax, edx
mov ecx, dword [ebp - 0x60]
sub eax, ecx
cmp eax, 1
jb 0x4166b8
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x70]
jmp 0x4166d0
push 1
push 0x44e028
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x58]
push 1
call fcn.00418ef0
movups xmm0, xmmword [eax]
or esi, 8
mov dword [ebp - 0x44], esi
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x8c]
mov esi, dword [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004175c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x41674b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416741
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416822
push ecx
push edx
call fcn.0042426b
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x416783
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416779
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416822
push ecx
push edx
call fcn.0042426b
add esp, 8
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x50]
jne 0x4165c0
mov eax, dword [esi + 0x10]
mov ecx, esi
dec eax
cmp dword [esi + 0x14], 0x10
jb 0x4167a1
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
test edi, edi
je 0x4167d5
mov edx, dword [ebp - 0x2c]
sub edx, edi
cmp edx, 0x1000
jb 0x4167cb
mov ecx, dword [edi - 4]
add edx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x416822
mov edi, ecx
push edx
push edi
call fcn.0042426b
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x416805
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4167fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416822
push ecx
push edx
call fcn.0042426b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423fd7
mov esp, ebp
pop ebp
ret
call fcn.0042aacf
int3