Function at 0x45fe90
Capabilities:
Encrypt data using rc4 ksa
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x485118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
cmp dword [esi + 0x28], eax
mov dword [ebp - 0x64], ecx
jle 0x4603f7
push ebx
push edi
cmp dword [esi + 0x24], eax
mov dword [ebp - 0x60], eax
jle 0x4603e6
cmp dword [esi + 0xc0], eax
mov dword [ebp - 0x50], eax
jle 0x4601ad
lea eax, [esi + 0xf90]
lea ebx, [esi + 0x30]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ebx
jmp 0x45fee9
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x1c]
shl eax, 7
lea eax, [eax + esi + 0xd4]
mov dword [ebp - 0x74], eax
mov eax, ecx
cdq
idiv dword [ebx]
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x78], eax
mov eax, edi
cdq
idiv dword [ebx + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x7c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x4c], eax
xor eax, eax
sar ebx, 3
test edi, edi
mov dword [ebp - 0x54], eax
jle 0x460191
and dword [ebp - 0x48], 0
test ecx, ecx
jle 0x460182
mov ecx, dword [ebp - 0x64]
add eax, ecx
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x68]
imul ecx, eax
imul eax, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x48]
mov edx, dword [edx]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], 8
lea ecx, [edx + ecx*4]
mov edx, eax
shl edx, 2
lea eax, [ebp - 0x188]
mov edi, dword [ecx]
mov dword [eax - 4], edi
mov edi, dword [ecx + 4]
mov dword [eax], edi
mov edi, dword [ecx + 8]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0xc]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x10]
mov dword [eax + 0xc], edi
mov edi, dword [ecx + 0x14]
mov dword [eax + 0x10], edi
mov edi, dword [ecx + 0x18]
mov dword [eax + 0x14], edi
mov edi, dword [ecx + 0x1c]
mov dword [eax + 0x18], edi
add ecx, edx
add eax, 0x20
dec dword [ebp - 0x5c]
jne 0x45ff81
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x74]
mov ecx, esi
call fcn.0045ec16
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x68]
imul ecx, eax
add ecx, dword [ebp - 0x48]
mov edx, dword [edx]
add ecx, dword [ebp - 0x60]
cmp ebx, 1
lea edx, [edx + ecx*4]
jne 0x460043
cmp dword [ebp - 0x4c], ebx
jne 0x4600f7
push 8
lea eax, [ebp - 0x43]
pop ecx
movzx edi, byte [eax - 1]
mov dword [edx], edi
movzx edi, byte [eax]
mov dword [edx + 4], edi
movzx edi, byte [eax + 1]
mov dword [edx + 8], edi
movzx edi, byte [eax + 2]
mov dword [edx + 0xc], edi
movzx edi, byte [eax + 3]
mov dword [edx + 0x10], edi
movzx edi, byte [eax + 4]
mov dword [edx + 0x14], edi
movzx edi, byte [eax + 5]
mov dword [edx + 0x18], edi
movzx edi, byte [eax + 6]
mov dword [edx + 0x1c], edi
mov edi, dword [esi + 0x24]
add eax, 8
dec ecx
lea edx, [edx + edi*4]
jne 0x45fffc
jmp 0x46016b
cmp ebx, 2
jne 0x4600f7
cmp dword [ebp - 0x4c], ebx
jne 0x4600f7
lea eax, [edx + eax*4]
lea ecx, [ebp - 0x43]
mov dword [ebp - 0x5c], 8
movzx edi, byte [ecx - 1]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [edx], edi
movzx edi, byte [ecx]
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [edx + 0xc], edi
mov dword [edx + 8], edi
movzx edi, byte [ecx + 1]
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [edx + 0x14], edi
mov dword [edx + 0x10], edi
movzx edi, byte [ecx + 2]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x18], edi
movzx edi, byte [ecx + 3]
mov dword [eax + 0x24], edi
mov dword [eax + 0x20], edi
mov dword [edx + 0x24], edi
mov dword [edx + 0x20], edi
movzx edi, byte [ecx + 4]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov dword [edx + 0x2c], edi
mov dword [edx + 0x28], edi
movzx edi, byte [ecx + 5]
mov dword [eax + 0x34], edi
mov dword [eax + 0x30], edi
mov dword [edx + 0x34], edi
mov dword [edx + 0x30], edi
movzx edi, byte [ecx + 6]
mov dword [eax + 0x3c], edi
mov dword [eax + 0x38], edi
mov dword [edx + 0x3c], edi
mov dword [edx + 0x38], edi
mov edi, dword [esi + 0x24]
shl edi, 3
add edx, edi
add eax, edi
add ecx, 8
dec dword [ebp - 0x5c]
jne 0x460062
jmp 0x46016b
and dword [ebp - 0x70], 0
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x460146
mov dword [ebp - 0x80], eax
test ebx, ebx
jle 0x460135
mov eax, dword [ebp - 0x70]
movzx eax, byte [ebp + eax - 0x44]
mov edi, dword [ebp - 0x58]
mov ecx, ebx
rep stosd dword es:[edi], eax
dec dword [ebp - 0x80]
mov ecx, dword [ebp - 0x58]
mov eax, dword [esi + 0x24]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x58], eax
jne 0x460122
inc dword [ebp - 0x70]
mov eax, ebx
shl eax, 2
add dword [ebp - 0x5c], eax
dec dword [ebp - 0x88]
jne 0x460112
mov eax, dword [esi + 0x24]
imul eax, dword [ebp - 0x4c]
dec dword [ebp - 0x8c]
lea edx, [edx + eax*4]
jne 0x460105
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x78]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
mov dword [ebp - 0x48], eax
jl 0x45ff51
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x7c]
cmp eax, dword [esi + 0x20]
mov dword [ebp - 0x54], eax
jl 0x45ff3a
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x6c], 0x14
add dword [ebp - 0x68], 4
cmp eax, dword [esi + 0xc0]
jl 0x45fee6
xor eax, eax
cmp dword [esi + 0xc4], eax
je 0x4603d1
mov ecx, dword [esi + 0xc0]
cmp ecx, 3
jne 0x4602bc
cmp dword [esi + 0x20], eax
mov dword [ebp - 0x54], eax
jle 0x4603d1
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov ebx, dword [esi + 0x24]
imul ebx, dword [ebp - 0x50]
add ebx, dword [ebp - 0x60]
mov edx, dword [esi + 0xf90]
mov eax, dword [esi + 0xf94]
mov edi, dword [esi + 0xf98]
and dword [ebp - 0x48], 0
shl ebx, 2
add eax, ebx
add edi, ebx
add edx, ebx
test ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
jle 0x4602a5
mov ecx, dword [eax]
mov eax, dword [edi]
mov ebx, dword [edx]
sub eax, 0x80
mov edi, ebx
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edi, 0x10
lea ebx, [ebx + edi + 0x8000]
sar ebx, 0x10
movzx ebx, byte [ebx + 0x49db28]
sub ecx, 0x80
mov dword [edx], ebx
mov ebx, ecx
imul ecx, ecx, 0x1c5a2
imul ebx, ebx, 0x5819
sub eax, ebx
lea eax, [eax + edi + 0x8000]
sar eax, 0x10
movzx ebx, byte [eax + 0x49db28]
mov eax, dword [ebp - 0x4c]
lea ecx, [ecx + edi + 0x8000]
mov edi, dword [ebp - 0x58]
sar ecx, 0x10
mov dword [eax], ebx
movzx ecx, byte [ecx + 0x49db28]
add eax, 4
mov dword [edi], ecx
mov ecx, dword [esi + 0x1c]
add edi, 4
add edx, 4
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
jl 0x460214
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
inc dword [ebp - 0x50]
cmp eax, dword [esi + 0x20]
jl 0x4601dd
jmp 0x4603cf
cmp ecx, 4
jne 0x4603d1
cmp dword [esi + 0x20], eax
mov dword [ebp - 0x54], eax
jle 0x4603d1
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov ebx, dword [esi + 0x24]
imul ebx, dword [ebp - 0x50]
add ebx, dword [ebp - 0x60]
mov edx, dword [esi + 0xf90]
mov eax, dword [esi + 0xf94]
mov edi, dword [esi + 0xf98]
and dword [ebp - 0x48], 0
shl ebx, 2
add eax, ebx
add edi, ebx
add edx, ebx
test ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
jle 0x4603bd
mov ecx, dword [eax]
mov eax, dword [edi]
mov ebx, dword [edx]
sub eax, 0x80
mov edi, ebx
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edi, 0x10
mov dword [ebp - 0x74], edi
lea edi, [ebx + edi + 0x8000]
sar edi, 0x10
movzx edi, byte [edi + 0x49db28]
sub ecx, 0x80
mov ebx, 0xff
sub ebx, edi
mov edi, ecx
imul ecx, ecx, 0x1c5a2
imul edi, edi, 0x5819
sub eax, edi
mov edi, dword [ebp - 0x74]
mov dword [edx], ebx
lea eax, [eax + edi + 0x8000]
sar eax, 0x10
movzx eax, byte [eax + 0x49db28]
lea ecx, [ecx + edi + 0x8000]
mov edi, dword [ebp - 0x58]
mov ebx, 0xff
sub ebx, eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
sar ecx, 0x10
movzx ecx, byte [ecx + 0x49db28]
mov ebx, 0xff
sub ebx, ecx
add eax, 4
mov dword [edi], ebx
mov ecx, dword [esi + 0x1c]
add edi, 4
add edx, 4
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edi
jl 0x460311
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
inc dword [ebp - 0x50]
cmp eax, dword [esi + 0x20]
jl 0x4602da
xor eax, eax
mov ecx, dword [ebp - 0x60]
add ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x24]
mov dword [ebp - 0x60], ecx
jl 0x45fec6
mov ecx, dword [ebp - 0x64]
add ecx, dword [esi + 0x20]
cmp ecx, dword [esi + 0x28]
mov dword [ebp - 0x64], ecx
jl 0x45feba
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004347dd
leave
ret